MudassarRasool / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

HashCodeAcceptanceContract error messages and wiki #698

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a HashCodeAcceptanceContract with only one instance in 
DistinctInstances
2. run test

What is the expected output? What do you see instead?

If one instance is not enough I would like a message stating that

instead I get

System.ArgumentOutOfRangeException: Specified argument was out of the range of 
valid values.
Parameter name: a
ParamName: a
at Gallio.Common.Mathematics.Gamma.IncompleteGamma(Double a, Double x) in 
c:\Server\Projects\MbUnit 
v3.2\Work\src\Gallio\Gallio\Common\Mathematics\Gamma.cs:line 25

What version of the product are you using? On what operating system?
3.2.517 RC Win7 x64

Please provide any additional information below.

And the wiki says that the dfault value for CollisionProbabilityLimit is 
CollisionProbabilityLimit.Low but its seems to be called 
CollisionProbability.Low

Original issue reported on code.google.com by niklas.d...@gmail.com on 30 Jul 2010 at 5:02

GoogleCodeExporter commented 8 years ago
Aah yes... You are right, we should catch that exception internally and 
encapsulate it into a more explanatory one. Well spotted.

Original comment by Yann.Tre...@gmail.com on 31 Jul 2010 at 8:00

GoogleCodeExporter commented 8 years ago

Original comment by Yann.Tre...@gmail.com on 7 Aug 2010 at 10:12