public void CountAndSay6() { //Arrange int n = 6; string expected = "312211"; //Act Solution038 s = new Solution038(); string actual = s.CountAndSay(n); //Assert Assert.Equal(expected, actual); }
public void TestMethod(int n, string output) { Assert.Equal(output, Solution038.CountAndSay(n)); }