public void ToStringEmptyArraySuccess() { // arrange var vector = new EigenVector(); // act string expected = "{}"; string actual = vector.ToString(); // assert Assert.AreEqual(actual, expected); }
public void ToStringReturnsCorrectResult() { // arrange var vector = new EigenVector(1, 2, 34, 0.25); // act string expected = "{1, 2, 34, 0.25}"; string actual = vector.ToString(); // assert Assert.AreEqual(actual, expected); }