Feat: new euclidean words and sugar for floating point numbers
This commit is contained in:
@@ -200,3 +200,13 @@ fn log_e() {
|
||||
fn log_one() {
|
||||
expect_int("1 log", 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn shorthand_float() {
|
||||
expect_float(".25 .5 +", 0.75);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn shorthand_float_negative() {
|
||||
expect_float("-.5 1 +", 0.5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user