SIGN IN SIGN UP
TheAlgorithms / Python UNCLAIMED

All Algorithms implemented in Python

219160 0 1 Python

Add doctest for circular queue overflow condition (#13590)

* Add doctest for circular queue overflow condition

Added a doctest to test the QUEUE IS FULL exception when attempting to enqueue an element into a full circular queue. This improves test coverage for line 67 in data_structures/queues/circular_queue.py.

Fixes #9943

* Update circular_queue.py

* Update circular_queue.py

* Update circular_queue.py

* Update circular_queue.py

---------

Co-authored-by: Maxim Smolskiy <[email protected]>
T
Tejasrahane committed
3b08413ab32bb5526c6043681db6e3ae9df4fd4a
Parent: c79034c
Committed by GitHub <[email protected]> on 10/19/2025, 8:51:11 PM