public static void Puzzle042_TriangleNumber_Returns_Correct_Result(int n, int expected) { // Act int actual = Puzzle042.TriangleNumber(n); // Assert Assert.Equal(expected, actual); }
public static void Puzzle042_GetScore_Returns_Correct_Result(string word, int expected) { // Act int actual = Puzzle042.GetScore(word); // Assert Assert.Equal(expected, actual); }