Suggestion: VBSUnit should support floating methods

in #utopian-io8 years ago (edited)

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

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you, 谢谢您。

Hey @justyy I am @utopian-io. I have just upvoted you!

Achievements

  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x