mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-08-20 12:37:29 +00:00
fix(octave): rename check() param to avoid shadowing built-in cond()
This commit is contained in:
parent
683af9a7df
commit
249179d922
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,8 @@
|
||||||
% AVM ISA v1 — Octave/MATLAB Test Harness
|
% AVM ISA v1 — Octave/MATLAB Test Harness
|
||||||
% Run with: cd octave && octave --no-gui test_avm.m
|
% Run with: cd octave && octave --no-gui test_avm.m
|
||||||
|
|
||||||
function check(cond, msg)
|
function check(result, msg)
|
||||||
if cond; fprintf(stdout, " ✅ %s\n", msg);
|
if result; fprintf(stdout, " ✅ %s\n", msg);
|
||||||
else; fprintf(stdout, " ❌ %s\n", msg); end
|
else; fprintf(stdout, " ❌ %s\n", msg); end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue