public void First_Character_Upper_Other_Lower() { var solution = new DetectCapitalSolution(); var result = solution.DetectCapitalUse("Asupertest"); Assert.True(result); }
public void Last_Character_Upper() { var solution = new DetectCapitalSolution(); var result = solution.DetectCapitalUse("asupertestB"); Assert.False(result); }
public void One_Character_Lower_Case() { var solution = new DetectCapitalSolution(); var result = solution.DetectCapitalUse("a"); Assert.True(result); }
public void First_Character_Upper_Center_Character_Upper() { var solution = new DetectCapitalSolution(); var result = solution.DetectCapitalUse("AsupeRtestb"); Assert.False(result); }
public void All_Characters_Lower() { var solution = new DetectCapitalSolution(); var result = solution.DetectCapitalUse("usa"); Assert.True(result); }