Commit ed8eb887 authored by Roberto Hexsel's avatar Roberto Hexsel
Browse files

fix to count.expected

parent b3ac909c
//-------------------------------------------------------------------------
// test if COUNT register counts up monotonically as it should
// test if COUNT register counts up monotonically
// returns error if the time to compute every 11th element of the Fibonacci
// sequence, as measured by COUNT is not monotonically increasing
//-------------------------------------------------------------------------
......@@ -51,6 +51,7 @@ int main() {
// print(new);
to_stdout('o'); to_stdout('k'); to_stdout('\n');
to_stdout('\n'); // separate tests
// now disable COUNT and make sure that it has stopped
print( stopCount() ); // stop COUNT
......@@ -61,7 +62,6 @@ int main() {
if ( monotonic == TRUE ) {
to_stdout('e'); to_stdout('r'); to_stdout('r'); to_stdout('\n');
print(new);
exit(new);
} else {
// print(new);
to_stdout('o'); to_stdout('k'); to_stdout('\n');
......
......@@ -4,6 +4,7 @@
0000452f
0035c7e2
ok
0880007c
00000005
ok
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment