I love unit testing
-
and the awesome messages that I get some times... Assert.AreEqual failed. Expected:<2.65>. Actual:<2.65>.
Not to try and debug your cryptic message but you shouldn't use an equals operator on a double which seems to be the case.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
and the awesome messages that I get some times... Assert.AreEqual failed. Expected:<2.65>. Actual:<2.65>.
-
You know, every year or so this link gets posted in the lounge. You'd think people would have figured it out by now.
Deja View - the feeling that you've seen this post before.
-
Not to try and debug your cryptic message but you shouldn't use an equals operator on a double which seems to be the case.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest HemingwayHe needs to unit test his unit tests!
Todd Smith
-
He needs to unit test his unit tests!
Todd Smith
Hmm, I think maybe he just needs to unit test his unit.
Member number three million seven hundred seventy two thousand nine hundred sixty three
-
and the awesome messages that I get some times... Assert.AreEqual failed. Expected:<2.65>. Actual:<2.65>.
-
Not to try and debug your cryptic message but you shouldn't use an equals operator on a double which seems to be the case.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest HemingwayNot trying to be a smartass here but I think he should use Assert.AreEqual with tolerance parameter specified.
Work @ Network integrated solutions | Flickr | A practical use of the MVC pattern
-
He needs to unit test his unit tests!
Todd Smith
There is nothing on earth which is like does not have a scope for improvement. Going by that global truth, unit testing too needs testing. :)
Vasudevan Deepak Kumar Personal Homepage
Tech Gossips
All the world's a stage, And all the men and women merely players. They have their exits and their entrances; And one man in his time plays many parts... --William Shakespeare -
and the awesome messages that I get some times... Assert.AreEqual failed. Expected:<2.65>. Actual:<2.65>.
I think everyone here is more happy I do unit tests than I am sometimes. :laugh: if you don't get it, ask around. :laugh:
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."
-
You know, every year or so this link gets posted in the lounge. You'd think people would have figured it out by now.
Deja View - the feeling that you've seen this post before.
Pete O'Hanlon wrote:
You'd think people would have figured it out by now.
Which is why I validate to the nearest 0.005 under EGM96 and less or more on others. I actually care about what my accuracy is on the per decimal place. :) Now if I can just stop people from using integer colors!! ;)
_________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."