upd: update tests
This commit is contained in:
+1
-1
@@ -32,6 +32,6 @@ printline(a);
|
||||
a = doSome(a);
|
||||
printline(a);
|
||||
|
||||
b = doSomeNew();
|
||||
A b = doSomeNew();
|
||||
printline(b);
|
||||
|
||||
|
||||
@@ -51,6 +51,7 @@ printline("Elements:");
|
||||
list.printList();
|
||||
|
||||
printline("===== Test 2: mutation & methods =====");
|
||||
list = list.append(10);
|
||||
int total = list.sum();
|
||||
printline("Sum of elements:");
|
||||
printline(total);
|
||||
|
||||
Reference in New Issue
Block a user