| CRITICAL | …a/com/thealgorithms/conversions/TimeConverterTest.java | 58 | return Stream.of(org.junit.jupiter.params.provider.Arguments.of(1.0, "hours", "minutes"), org.junit.jupiter.para |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 70 | org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class, () -> new CircularBuffer<>(0)); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 71 | org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class, () -> new CircularBuffer<>(-1)); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 74 | org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class, () -> buffer.put(null)); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 127 | org.junit.jupiter.api.Assertions.assertFalse(buffer.isFull()); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 130 | org.junit.jupiter.api.Assertions.assertFalse(buffer.isEmpty()); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 131 | org.junit.jupiter.api.Assertions.assertFalse(buffer.isFull()); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 137 | org.junit.jupiter.api.Assertions.assertFalse(buffer.isFull()); |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 160 | org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class, () -> buffer.put(null), "Itera |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 190 | org.junit.jupiter.api.Assertions.assertFalse(buffer.put("two")); // not empty |
| CRITICAL | …orithms/datastructures/buffers/CircularBufferTest.java | 191 | org.junit.jupiter.api.Assertions.assertFalse(buffer.put("three")); // overwrite |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 72 | org.junit.jupiter.api.Assertions.assertFalse(stack.isEmpty(), "Stack should not be empty after a push operation. |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 99 | org.junit.jupiter.api.Assertions.assertNull(stringStack.pop(), "Should pop null value"); |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 101 | org.junit.jupiter.api.Assertions.assertNull(stringStack.pop(), "Should pop null value"); |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 134 | org.junit.jupiter.api.Assertions.assertFalse(intStack.isEmpty(), "Peek should not make stack empty"); |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 216 | org.junit.jupiter.api.Assertions.assertFalse(intStack.isEmpty()); |
| CRITICAL | …thealgorithms/datastructures/stacks/NodeStackTest.java | 226 | org.junit.jupiter.api.Assertions.assertFalse(intStack.isEmpty(), "Stack with one element should not be empty"); |
| CRITICAL | …ithms/datastructures/stacks/StackOfLinkedListTest.java | 44 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, () -> stack.pop(), "Popping from an |
| CRITICAL | …ithms/datastructures/stacks/StackOfLinkedListTest.java | 49 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, () -> stack.peek(), "Peeking into an |
| CRITICAL | …m/thealgorithms/datastructures/lists/SkipListTest.java | 83 | org.junit.jupiter.api.Assertions.assertArrayEquals(new String[] {"a", "b", "c", "d"}, actualOrder); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 53 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty()); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 73 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, deque::pollFirst); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 79 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, deque::pollLast); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 100 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty()); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 122 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty()); |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 159 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty(), "Deque should be empty after polling single element |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 168 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty(), "Deque should be empty after polling single element |
| CRITICAL | …com/thealgorithms/datastructures/queues/DequeTest.java | 195 | org.junit.jupiter.api.Assertions.assertTrue(deque.isEmpty(), "Deque should be empty after symmetric operations") |
| CRITICAL | …lgorithms/datastructures/queues/CircularQueueTest.java | 71 | org.junit.jupiter.api.Assertions.assertThrows(IllegalStateException.class, cq::peek); |
| CRITICAL | …lgorithms/datastructures/queues/CircularQueueTest.java | 80 | org.junit.jupiter.api.Assertions.assertThrows(IllegalStateException.class, () -> cq.enQueue(3)); |
| CRITICAL | …lgorithms/datastructures/queues/CircularQueueTest.java | 86 | org.junit.jupiter.api.Assertions.assertThrows(IllegalStateException.class, cq::deQueue); |
| CRITICAL | …lgorithms/datastructures/queues/CircularQueueTest.java | 92 | org.junit.jupiter.api.Assertions.assertThrows(IllegalStateException.class, cq::peek); |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 58 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, () -> queue.dequeue(), "Dequeueing f |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 63 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, () -> queue.peekFront(), "Peeking fr |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 68 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, () -> queue.peekRear(), "Peeking rea |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 110 | org.junit.jupiter.api.Assertions.assertThrows(IndexOutOfBoundsException.class, () -> queue.peek(4), "Peeking at |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 111 | org.junit.jupiter.api.Assertions.assertThrows(IndexOutOfBoundsException.class, () -> queue.peek(0), "Peeking at |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 137 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, it::next, "Calling next() on exhaust |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 200 | org.junit.jupiter.api.Assertions.assertThrows(IllegalArgumentException.class, () -> queue.enqueue(null), "Cannot |
| CRITICAL | …ealgorithms/datastructures/queues/LinkedQueueTest.java | 207 | org.junit.jupiter.api.Assertions.assertThrows(NoSuchElementException.class, it::next, "Calling next() on empty q |
| CRITICAL | …java/com/thealgorithms/datastructures/bag/BagTest.java | 102 | org.junit.jupiter.api.Assertions.fail("Iterator returned item for an empty bag:" + item); |
| CRITICAL | …java/com/thealgorithms/datastructures/bag/BagTest.java | 222 | org.junit.jupiter.api.Assertions.assertNotNull(first1, "First iterator should return non-null element"); |
| CRITICAL | …java/com/thealgorithms/datastructures/bag/BagTest.java | 223 | org.junit.jupiter.api.Assertions.assertNotNull(first2, "Second iterator should return non-null element"); |
| CRITICAL | …/com/thealgorithms/others/QueueUsingTwoStacksTest.java | 86 | org.junit.jupiter.api.Assertions.assertThrows(EmptyStackException.class, queue::remove, "Removing from an empty |
| CRITICAL | …/com/thealgorithms/others/QueueUsingTwoStacksTest.java | 91 | org.junit.jupiter.api.Assertions.assertThrows(EmptyStackException.class, queue::peekFront, "Peeking front from a |
| CRITICAL | …/com/thealgorithms/others/QueueUsingTwoStacksTest.java | 96 | org.junit.jupiter.api.Assertions.assertThrows(EmptyStackException.class, queue::peekBack, "Peeking back from an |
| CRITICAL | …java/com/thealgorithms/sorts/SortingAlgorithmTest.java | 279 | org.junit.jupiter.api.Assertions.assertThrows(NullPointerException.class, () -> getSortAlgorithm().sort(array)); |
| CRITICAL | …java/com/thealgorithms/sorts/SortingAlgorithmTest.java | 285 | org.junit.jupiter.api.Assertions.assertThrows(NullPointerException.class, () -> getSortAlgorithm().sort(list)); |