public void ToStringTest()
{
Plane target = new Plane(-12, 3, -18, 1);
{
string expected = "-12x +3y -18z +1 = 0";
string actual = target.ToString();
Assert.AreEqual(expected, actual);
}
{
string expected = "x = +0.25y -1.5z +0.08333334";
string actual = target.ToString('x', CultureInfo.InvariantCulture);
Assert.AreEqual(expected, actual);
}
}
}