@@ -5,16 +5,16 @@ Debug = true
55[33m[tester::#AV4] [test-1] [0m[94mWriting contents to ./test.lox:[0m
66[33m[tester::#AV4] [test-1.lox] [0mprint clock() + 23;
77[33m[tester::#AV4] [test-1] [0m[94m$ ./your_program.sh run test.lox[0m
8- [33m[your_program] [0m1.750191785202E9
9- [33m[tester::#AV4] [test-1] [0m[92m✓ 1750191785.202000 [0m
8+ [33m[your_program] [0m1.753116113038E9
9+ [33m[tester::#AV4] [test-1] [0m[92m✓ 1753116113.038000 [0m
1010[33m[tester::#AV4] [test-1] [0m[92m✓ 1 line(s) match on stdout[0m
1111[33m[tester::#AV4] [test-1] [0m[92m✓ Received exit code 0.[0m
1212[33m[tester::#AV4] [test-2] [0m[94mRunning test case: 2[0m
1313[33m[tester::#AV4] [test-2] [0m[94mWriting contents to ./test.lox:[0m
1414[33m[tester::#AV4] [test-2.lox] [0mprint clock() / 1000;
1515[33m[tester::#AV4] [test-2] [0m[94m$ ./your_program.sh run test.lox[0m
16- [33m[your_program] [0m1750191.762257
17- [33m[tester::#AV4] [test-2] [0m[92m✓ 1750191.762257 [0m
16+ [33m[your_program] [0m1753116.0900899998
17+ [33m[tester::#AV4] [test-2] [0m[92m✓ 1753116.090090 [0m
1818[33m[tester::#AV4] [test-2] [0m[92m✓ 1 line(s) match on stdout[0m
1919[33m[tester::#AV4] [test-2] [0m[92m✓ Received exit code 0.[0m
2020[33m[tester::#AV4] [test-3] [0m[94mRunning test case: 3[0m
@@ -372,9 +372,9 @@ Debug = true
372372[33m[tester::#EY3] [test-4.lox] [0m[33m// This program creates a function that returns[0m
373373[33m[tester::#EY3] [test-4.lox] [0m[33m// another function[0m
374374[33m[tester::#EY3] [test-4.lox] [0m[33m// and uses it to filter a list of numbers[0m
375- [33m[tester::#EY3] [test-4.lox] [0mfun makeFilter(min ) {
375+ [33m[tester::#EY3] [test-4.lox] [0mfun makeFilter() {
376376[33m[tester::#EY3] [test-4.lox] [0m fun filter(n) {
377- [33m[tester::#EY3] [test-4.lox] [0m if (n < min ) {
377+ [33m[tester::#EY3] [test-4.lox] [0m if (n < 54 ) {
378378[33m[tester::#EY3] [test-4.lox] [0m return false;
379379[33m[tester::#EY3] [test-4.lox] [0m }
380380[33m[tester::#EY3] [test-4.lox] [0m return true;
@@ -394,14 +394,10 @@ Debug = true
394394[33m[tester::#EY3] [test-4.lox] [0m }
395395[33m[tester::#EY3] [test-4.lox] [0m}
396396[33m[tester::#EY3] [test-4.lox] [0m
397- [33m[tester::#EY3] [test-4.lox] [0mvar greaterThanX = makeFilter(54);
398- [33m[tester::#EY3] [test-4.lox] [0mvar greaterThanY = makeFilter(44);
397+ [33m[tester::#EY3] [test-4.lox] [0mvar greaterThanX = makeFilter();
399398[33m[tester::#EY3] [test-4.lox] [0m
400399[33m[tester::#EY3] [test-4.lox] [0mprint "Numbers >= 54:";
401400[33m[tester::#EY3] [test-4.lox] [0mapplyToNumbers(greaterThanX, 54 + 6);
402- [33m[tester::#EY3] [test-4.lox] [0m
403- [33m[tester::#EY3] [test-4.lox] [0mprint "Numbers >= 44:";
404- [33m[tester::#EY3] [test-4.lox] [0mapplyToNumbers(greaterThanY, 44 + 6);
405401[33m[tester::#EY3] [test-4] [0m[94m$ ./your_program.sh run test.lox[0m
406402[33m[your_program] [0mNumbers >= 54:
407403[33m[your_program] [0m54
@@ -410,14 +406,7 @@ Debug = true
410406[33m[your_program] [0m57
411407[33m[your_program] [0m58
412408[33m[your_program] [0m59
413- [33m[your_program] [0mNumbers >= 44:
414- [33m[your_program] [0m44
415- [33m[your_program] [0m45
416- [33m[your_program] [0m46
417- [33m[your_program] [0m47
418- [33m[your_program] [0m48
419- [33m[your_program] [0m49
420- [33m[tester::#EY3] [test-4] [0m[92m✓ 14 line(s) match on stdout[0m
409+ [33m[tester::#EY3] [test-4] [0m[92m✓ 7 line(s) match on stdout[0m
421410[33m[tester::#EY3] [test-4] [0m[92m✓ Received exit code 0.[0m
422411[33m[tester::#EY3] [0m[92mTest passed.[0m
423412
0 commit comments