20 lines
271 B
Plaintext
20 lines
271 B
Plaintext
#lang honu
|
|
|
|
obj test(t, a, b){
|
|
if (a != b){
|
|
display(t);
|
|
display(" failed!");
|
|
newline();
|
|
display("Got ");
|
|
display(a);
|
|
display(". Expected ");
|
|
display(b);
|
|
newline();
|
|
}
|
|
}
|
|
|
|
var x = 3;
|
|
const y = 2;
|
|
test("x = 3", x, 3);
|
|
test("y = 2", y, 2);
|