Hi all,
I am currently evaluating Ncrunch to see if it is a viable solution for my needs and I have come across a strange problem.
When requesting the hashcode of a string Ncrunch returns a different value in the test when compared to running the test in Nunit/ReSharper itself.
Here is an example of a test that fails with Ncrunch but passes with Nunit:
Quote:[Test]
public void Test()
{
Assert.That(1099313834, Is.EqualTo("abc".GetHashCode()));
}
We are running:
ReSharper: 5.1 (NUnit version 2.5.7)
Ncrunch: 2.5.0.12
Standalone NUnit: 2.6.2
.Net 4 Framework
Cheers