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

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