about summary refs log blame commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-lessThan.nix
blob: cd2d0c209c3a5b2b268456556ea64392029dbd35 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                           
[
  (builtins.lessThan 2 3)
  (builtins.lessThan 2.0 3)
  (builtins.lessThan 2 3.0)
  (builtins.lessThan 2.0 3.0)
  (builtins.lessThan 3 2)
  (builtins.lessThan 3.0 2)
  (builtins.lessThan 3 2.0)
  (builtins.lessThan 3.0 2.0)
  (builtins.lessThan 10 (builtins.add 9 2))
  (builtins.lessThan (builtins.add 9 1) 11)
  (builtins.lessThan (builtins.add 9 1) (builtins.add 9 2))
  (builtins.lessThan "a" "b")
  (builtins.lessThan "b" "a")
]