public void distance_squared_point() { var a = new Point3(1, 2, 5); var b = new Point3(3, 5, 1); var d1 = a.DistanceSquared(b); var d2 = b.DistanceSquared(a); d1.Should().Be(d2); d1.Should().Be(29); }