Suggestion: VBSUnit should support floating methods

Words
77
Reading
1 min
Listen
Play
9y

VBSUnit is a VBScript Unit Testing Framework. Currently, it supports the following test methods for VBScript:

  • assert_equal expected, actual, message
  • assert_not_equal expected, actual, message
  • assert_match expected_pattern, actual, message 'regex
  • assert_true asserted, message
  • assert_false asserted, message

However, for floating number, the direct comparisons are often considered as strict and wrong. I am proposing the methodsassert_equal_eps and assert_not_equal_eps to be added to the Github repro.

For more information, please see this post



Posted on Utopian.io - Rewarding Open Source Contributors

Suggestion: VBSUnit should support floating methods | Ecency