Created
September 25, 2022 19:49
-
-
Save apallier/50107aebf4835a20931797b92cd4baec to your computer and use it in GitHub Desktop.
Robot Framework: check whether two given values are almost equal or not
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** Keywords *** | |
Should Be Almost Equal | |
[Documentation] Check whether two given values are almost equal or not. | |
[Arguments] ${expected} ${actual} ${delta} | |
Should Be True abs(${expected} - ${actual}) < ${delta} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment