public void TestSeparatorResultFormatterFormat() { var formatter = new SeparatorResultFormatter("|"); var actual = formatter.Format("player", "2"); var expected = "player | 2 moves |"; Assert.AreEqual(actual, expected); }
public void TestSeparatorResultFormatterConstructorCreateInstanceNullSeparator() { var formatter = new SeparatorResultFormatter(null); }
public void TestSeparatorResultFormatterConstructorCreateInstance() { var formatter = new SeparatorResultFormatter("|"); Assert.IsInstanceOfType(formatter, typeof(SeparatorResultFormatter)); }