File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/java/com/thealgorithms/datastructures Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 88
99/**
1010 * Testcases for 2-SAT.
11- * Please note thea whlie checking for boolean assignments always keep n + 1 elements and the first element should be always false.
11+ * Please note thea while checking for boolean assignments always keep n + 1 elements and the first element should be always false.
1212 */
1313public class TwoSatTest {
1414 private TwoSat twoSat ;
Original file line number Diff line number Diff line change @@ -214,10 +214,10 @@ void recursiveReverseListTest() {
214214
215215 @ Test
216216 void readWithEnhancedForLoopTest () {
217- final var expeced = new ArrayList <Integer >(Arrays .asList (10 , 20 , 30 ));
217+ final var expected = new ArrayList <Integer >(Arrays .asList (10 , 20 , 30 ));
218218
219219 SinglyLinkedList list = new SinglyLinkedList ();
220- for (final var x : expeced ) {
220+ for (final var x : expected ) {
221221 list .insert (x );
222222 }
223223
@@ -226,7 +226,7 @@ void readWithEnhancedForLoopTest() {
226226 readElements .add (x );
227227 }
228228
229- assertEquals (readElements , expeced );
229+ assertEquals (readElements , expected );
230230 }
231231
232232 @ Test
You can’t perform that action at this time.
0 commit comments