public void Test1() { var diamondBuilder = new DiamondBuilder(); var result = diamondBuilder.Build('A'); Assert.Equal(new string[] { "A" }, result); }
public void Should_return_three_letters_with_spaces() { var diamondBuilder = new DiamondBuilder(); var result = new string[] { "C C", " B B ", " A " }; Assert.Equal(result, diamondBuilder.Build('C')); }
public void TestForD() { var diamondBuilder = new DiamondBuilder(); var result = new string[] { "D D", " C C ", " B B ", " A " }; Assert.Equal(result, diamondBuilder.Build('D')); }
public void MidPointContainsInternalPadding() { var diamondBuilder = new DiamondBuilder(); Assert.Equal("B B", diamondBuilder.Build('B')[1]); }
public void Should_return_two_letters() { var diamondBuilder = new DiamondBuilder(); Assert.StartsWith("B", diamondBuilder.Build('B')[0]); }