File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
2-0-data-structures-and-algorithms/2-2-4-linked-list/src/test/java/com/bobocode/cs
3-0-java-core/3-6-4-random-field-comparator Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -408,6 +408,7 @@ void removeLast() {
408
408
409
409
int newLastElement = getInternalElement (getInternalSize () - 1 );
410
410
int tailElement = (int ) getNodeValue (TAIL_NODE_FIELD );
411
+
411
412
int size = getInternalSize ();
412
413
413
414
assertThat (deletedElement ).isEqualTo (9 );
Original file line number Diff line number Diff line change 5
5
* implement a logic of choosing a random field to use it for comparison of objects of provided type ✅
6
6
* implement a mechanism to check if field type is ` Comparable ` ✅
7
7
* implement a method ` compare ` that compares two objects by randomly-provided field ✅
8
- * extend a method ` compare ` to manage null field values following condition when null value grater than a non-null value ✅
8
+ * extend a method ` compare ` to manage null field values following condition when null value greater than a non-null value ✅
9
9
* implement method ` getComparingFieldName ` that retrieves the name of randomly-chosen comparing field✅
10
10
* implement method ` toString ` ✅
11
11
You can’t perform that action at this time.
0 commit comments