Do not use broken foreach() loop in this test.
Все проверки выполнены успешно
The build was successful.
Все проверки выполнены успешно
The build was successful.
Этот коммит содержится в:
родитель
cb455c3c73
Коммит
a7606864fa
@ -94,9 +94,9 @@ class Program {
|
|||||||
}
|
}
|
||||||
sort($files);
|
sort($files);
|
||||||
unset($file);
|
unset($file);
|
||||||
foreach($files as $file) {
|
for(int $n = 0; $n < sizeof($files); $n++) {
|
||||||
print('Executing "' + $file + '"' + "\n");
|
print('Executing "' + $files[$n] + '"' + "\n");
|
||||||
$code = file_get_contents('tests/data/brainfuck/' + $file);
|
$code = file_get_contents('tests/data/brainfuck/' + $files[$n]);
|
||||||
$bf = new Brainfuck($code, $input);
|
$bf = new Brainfuck($code, $input);
|
||||||
$bf->run();
|
$bf->run();
|
||||||
print("\n");
|
print("\n");
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user