public void IfDifficultyLevelIsMedium_Sudokuhas12PresetNumbers_IsTrue() { //Arrange var generateSudoku = new GenerateSudoku(); const int expected = 12; //Act var actual = generateSudoku.DifficultyLevel(GenerateSudoku.Difficulty.Medium); //Assert Assert.AreEqual(expected, actual); }
public void IfDifficultyLevelIsEasy_Sudokuhas20PresetNumbers_IsTrue() { //Arrange var generateSudoku = new GenerateSudoku(); const int expected = 20; //Act var actual = generateSudoku.DifficultyLevel(GenerateSudoku.Difficulty.Easy); //Assert Assert.AreEqual(expected, actual); }