Skip to content

Instantly share code, notes, and snippets.

@apallier
Created September 25, 2022 19:49
Show Gist options
  • Save apallier/50107aebf4835a20931797b92cd4baec to your computer and use it in GitHub Desktop.
Save apallier/50107aebf4835a20931797b92cd4baec to your computer and use it in GitHub Desktop.
Robot Framework: check whether two given values are almost equal or not
*** 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