rename divFloor to divTrunc

This commit is contained in:
Kevin Gillette 2022-04-18 02:33:31 -06:00
parent 000ec79106
commit 6a3fd3a607
No known key found for this signature in database
GPG key ID: 9009F701BBC0D562
13 changed files with 36 additions and 36 deletions

View file

@ -1050,7 +1050,7 @@ fn gen_div_checked_i64() {
assert_evals_to!(
indoc!(
r#"
when Num.divFloorChecked 1000 10 is
when Num.divTruncChecked 1000 10 is
Ok val -> val
Err _ -> -1
"#
@ -1066,7 +1066,7 @@ fn gen_div_checked_by_zero_i64() {
assert_evals_to!(
indoc!(
r#"
when Num.divFloorChecked 1000 0 is
when Num.divTruncChecked 1000 0 is
Err DivByZero -> 99
_ -> -24
"#