diff options
| author | Alasdair Armstrong | 2018-07-30 19:16:34 +0100 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-08-01 16:42:33 +0100 |
| commit | 1479ae359fd3afebf9c3dfb6e58a77254e8140ea (patch) | |
| tree | ffcfd96409467a5c41009f68afe1f65a2c7a3d49 /src/test/lib/tests/test_gt.sail | |
| parent | 0b70a9d7464d6c30534d2f511cb8c9879c76b1e5 (diff) | |
Remove old test directory in src/test
Diffstat (limited to 'src/test/lib/tests/test_gt.sail')
| -rw-r--r-- | src/test/lib/tests/test_gt.sail | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/test/lib/tests/test_gt.sail b/src/test/lib/tests/test_gt.sail deleted file mode 100644 index 8576a8cd..00000000 --- a/src/test/lib/tests/test_gt.sail +++ /dev/null @@ -1,36 +0,0 @@ -function unit test() = { - test_assert("gt0", ( 1 > -1)); - test_assert("gt1", not(-1 > -1)); - test_assert("gt2", not(-1 > 1)); - - (* XXX default is signed -- document this! *) - test_assert("gt_vec0", (0x1 > 0xf)); - test_assert("gt_vec1", not(0xf > 0xf)); - test_assert("gt_vec2", not(0xf > 0x1)); - - test_assert("gt_vec_range0", (0x1 > -1)); - test_assert("gt_vec_range1", not(0xf > -1)); - test_assert("gt_vec_range2", not(0xf > 1)); - (* NB missing range_vec version *) - - (* XXX missing implementations - test_assert("gt_unsigned0", ( 1 >_u -1)); - test_assert("gt_unsigned1", not(-1 >_u -1)); - test_assert("gt_unsigned2", not(-1 >_u 1)); *) - - test_assert("gt_vec_unsigned0", not(0x1 >_u 0xf)); - test_assert("gt_vec_unsigned1", not(0xf >_u 0xf)); - test_assert("gt_vec_unsigned2", (0xf >_u 0x1)); - - (* NB there is no gt_vec_range unsigned or signed *) - - (* XXX missing implementations - test_assert("gt_signed0", ( 1 >_s -1)); - test_assert("gt_signed1", not(-1 >_s -1)); - test_assert("gt_signed2", not(-1 >_s 1)); *) - - test_assert("gt_vec_signed0", (0x1 >_s 0xf)); - test_assert("gt_vec_signed1", not(0xf >_s 0xf)); - test_assert("gt_vec_signed2", not(0xf >_s 0x1)); -} - |
