public void create_y_unit() { var expected = new Vector4F(0.0f, 1, 0, 0); var actual = Vector4F.CreateYUnit(); Assert.Equal(expected, actual); }
public void unit_y_normalizes_to_self() { var vector = Vector4F.CreateYUnit(); var expected = new Vector4F(vector); var actual = vector.GetNormal(); Assert.Equal(expected, actual); }
public void unit_y_normalizes_to_self() { var actual = Vector4F.CreateYUnit(); var expected = new Vector4F(actual); actual.Normalize(); Assert.Equal(expected, actual); }