public void TestDiamond1() { var expected = new StringBuilder(); expected.Append("*\n"); Assert.AreEqual(expected.ToString(), GiveMeDiamond.print(1)); }
public void TestNull() { Assert.IsNull(GiveMeDiamond.print(0)); Assert.IsNull(GiveMeDiamond.print(-2)); Assert.IsNull(GiveMeDiamond.print(2)); }