mirror of
https://github.com/urbit/ares.git
synced 2024-11-22 15:08:54 +03:00
[jets] add lte test
This commit is contained in:
parent
3d022b3f90
commit
f54f5171ae
@ -727,4 +727,17 @@ mod tests {
|
||||
assert_math_jet_noun(s, jet_lth, &[atom_128, atom_128_b], NO);
|
||||
assert_math_jet_noun(s, jet_lth, &[atom_128_b, atom_128], YES);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_lte() {
|
||||
let ref mut s = init();
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_128, atom_96], NO);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_96, atom_63], NO);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_63, atom_96], YES);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_63, atom_63], YES);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_63, atom_24], NO);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_128, atom_24], NO);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_128, atom_128_b], NO);
|
||||
assert_math_jet_noun(s, jet_lte, &[atom_128_b, atom_128], YES);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user