public void ShouldCalculateMagnitudeSquaredOfVector() { PVector originalVector = new PVector(3, 4, 0); float magnitudeSquared = originalVector.MagSq(); Assert.Equal(25f, magnitudeSquared); originalVector = new PVector(1, 2, 2); magnitudeSquared = originalVector.MagSq(); Assert.Equal(9, magnitudeSquared); }