public void TestStaticFn_CatmullRom_i ()
{
for(Int32 i = 0; i < 100; ++i)
{
var a = GetNextRandomVector2();
var b = GetNextRandomVector2();
var c = GetNextRandomVector2();
var d = GetNextRandomVector2();
Double amount1 = 0;
Vector2 result1;
Vector2.CatmullRom (
ref a, ref b, ref c, ref d, ref amount1, out result1);
AssertEqualWithinReason(result1, b);
Double amount2 = 1;
Vector2 result2;
Vector2.CatmullRom (
ref a, ref b, ref c, ref d, ref amount2, out result2);
AssertEqualWithinReason(result2, c);
}
}