Build 0.21.6.0 (1.0 pre-patch)
This commit is contained in:
@@ -10,8 +10,8 @@ namespace TestProject
|
||||
{
|
||||
public static Arbitrary<Vector2> Vector2Generator()
|
||||
{
|
||||
return Arb.From(from int x in Arb.Generate<int>()
|
||||
from int y in Arb.Generate<int>()
|
||||
return Arb.From(from float x in Arb.Generate<float>().Where(f => !float.IsNaN(f) && !float.IsInfinity(f))
|
||||
from float y in Arb.Generate<float>().Where(f => !float.IsNaN(f) && !float.IsInfinity(f))
|
||||
select new Vector2(x, y));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user