diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-28 21:46:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-28 21:46:43 +0100 |
commit | 6cebb8c11773b203039c811c2ee50ba25c99e5e1 (patch) | |
tree | c08adb794731c9fd9bcd7ed277e85b43e8c7a2c0 /tests | |
parent | 8886a6a45c0769903050605898fd07a0ac198cdb (diff) | |
parent | b743a2ef3cc48a94d626fccb49217237b7d4497c (diff) |
Merge pull request #44586 from madmiraal/rename-stepify
Rename Math::stepify to snapped
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_expression.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_expression.h b/tests/test_expression.h index 0d970ba87a..2b89de4327 100644 --- a/tests/test_expression.h +++ b/tests/test_expression.h @@ -173,11 +173,11 @@ TEST_CASE("[Expression] Built-in functions") { "`sqrt(pow(3, 2) + pow(4, 2))` should return the expected result."); CHECK_MESSAGE( - expression.parse("stepify(sin(0.5), 0.01)") == OK, + expression.parse("snapped(sin(0.5), 0.01)") == OK, "The expression should parse successfully."); CHECK_MESSAGE( Math::is_equal_approx(float(expression.execute()), 0.48), - "`stepify(sin(0.5), 0.01)` should return the expected result."); + "`snapped(sin(0.5), 0.01)` should return the expected result."); CHECK_MESSAGE( expression.parse("pow(2.0, -2500)") == OK, |