public void TestStaticFn_Distance_ii () { for(Int32 i = 0; i < 100; ++i) { Vector4 a = GetNextRandomVector4(); Single expected = Maths.Sqrt( (a.X * a.X) + (a.Y * a.Y) + (a.Z * a.Z) + (a.W * a.W)); Assert.That(a.Length(), Is.EqualTo(expected)); } }