The Sol Programming Language!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

9 lines
365 B

execfile("tests/_lib.sol")
assert_eq(1, 1, "int cmp")
assert_eq(-3695, -3695, "int cmp")
assert_eq([1, 2, 3], [1, 2, 3], "list cmp")
assert_neq([1, 2, 3], [4, 5, 6], "list cmp (inverse same len)")
assert_neq([1, 2, 3], [], "list cmp (with empty)")
assert_neq([1, 2, 3], [1, 2], "list cmp (with prefix)")
assert_neq([1, 2, 3], [1, 2, 3, 4], "list cmp (as prefix)")