KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two different ways to calculate a value. Once both methods run, I get the following: decimal a = 145.2344; decimal b = 145.2345; I have a unit test: Assert.AreEqual(a,b); I want to be able to account for a +/- .0001 difference. How can I add this rule?
Tags (comma-separated)
Save Edits
Cancel