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.
 
 
 
 
 
 

11 lines
257 B

execfile("tests/_lib.sol")
assert_eq(0 || 0, 0, "LOR")
assert_eq(1 || 0, 1, "LOR")
assert_eq(0 || 1, 1, "LOR")
assert_eq(1 || 1, 1, "LOR")
assert_eq(0 && 0, 0, "LAND")
assert_eq(1 && 0, 0, "LAND")
assert_eq(0 && 1, 0, "LAND")
assert_eq(1 && 1, 1, "LAND")