commit ccf57036d5da1fef7dde079b595dcd65e8d212a3 parent ec49198e576e72a9dc0132d5e8e20a12929b9dda Author: Ed van Bruggen <edvb@uw.edu> Date: Fri, 20 Apr 2018 12:48:52 -0700 Create math compare primitives unit tests Diffstat:
t/math/compare.expect | | | 12 | ++++++++++++ |
t/math/compare.tsp | | | 12 | ++++++++++++ |
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/t/math/compare.expect b/t/math/compare.expect @@ -0,0 +1,12 @@ +t +() +() +t +t +() +t +() +() +t +t +() diff --git a/t/math/compare.tsp b/t/math/compare.tsp @@ -0,0 +1,12 @@ +(< 2 3) +(< 3 3) +(< 4 3) +(<= -2 +4) +(<= -2 -2) +(<= 4 -2) +(> 89 34) +(> 48 48) +(> 98 183) +(>= +4 -282) +(>= 39 39) +(>= -32 -30)