25: Fix tests
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
#include "loop.h"
|
||||
#include "../print/print.h"
|
||||
|
||||
int loopTest(char* name, int x, int expected, int result) {
|
||||
int loopTest(char* name, long x, long expected, long result) {
|
||||
if (expected == result) {
|
||||
succPrefixOne(name, x, expected, result);
|
||||
return 0;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
int myWhile(int x);
|
||||
int myDoWhile(int x);
|
||||
int myFor(int x);
|
||||
long myWhile(long x);
|
||||
long myDoWhile(long x);
|
||||
long myFor(long x);
|
||||
Reference in New Issue
Block a user