예제 #1
0
 public void T6_ScrabbleScore_InputHigherValuesScore4_4()
 {
     Scrabble testScrabble = new Scrabble("F");
       Assert.Equal(4, testScrabble.ScrabbleScore());
 }
예제 #2
0
 public void T4_ScrabbleScore_InputHigherValuesScore2_2()
 {
     Scrabble testScrabble = new Scrabble("D");
       Assert.Equal(2, testScrabble.ScrabbleScore());
 }
예제 #3
0
 public void T5_ScrabbleScore_InputHigherValuesScore3_3()
 {
     Scrabble testScrabble = new Scrabble("B");
       Assert.Equal(3, testScrabble.ScrabbleScore());
 }
예제 #4
0
 public void T2_ScrabbleScore_InputScoreNotA_0()
 {
     Scrabble testScrabble = new Scrabble("12345");
       Assert.Equal(0, testScrabble.ScrabbleScore());
 }
예제 #5
0
 public void T3_ScrabbleScore_InputVowelsPlusScore1_1()
 {
     Scrabble testScrabble = new Scrabble("E");
       Assert.Equal(1, testScrabble.ScrabbleScore());
 }
예제 #6
0
 public void T16_ScrabbleScore_InputSpecialCharAndNumber_0()
 {
     Scrabble testScrabble = new Scrabble("a!@DOG#$");
       Assert.Equal(0, testScrabble.ScrabbleScore());
 }
예제 #7
0
 public void T1_ScrabbleScore_InputAScore1_1()
 {
     Scrabble testScrabble = new Scrabble("A");
       Assert.Equal(1, testScrabble.ScrabbleScore());
 }
예제 #8
0
 public void T14_ScrabbleScore_InputConventionalWord_17()
 {
     Scrabble testScrabble = new Scrabble("Mississippi");
       Assert.Equal(17, testScrabble.ScrabbleScore());
 }
예제 #9
0
 public void T15_ScrabbleScore_InputSpecialChar_0()
 {
     Scrabble testScrabble = new Scrabble("&#)(%(&$#%))");
       Assert.Equal(0, testScrabble.ScrabbleScore());
 }
예제 #10
0
 public void T12_ScrabbleScore_InputThreeLetterA_3()
 {
     Scrabble testScrabble = new Scrabble("AAA");
       Assert.Equal(3, testScrabble.ScrabbleScore());
 }
예제 #11
0
 public void T13_ScrabbleScore_InputLowerCaseA_1()
 {
     Scrabble testScrabble = new Scrabble("a");
       Assert.Equal(1, testScrabble.ScrabbleScore());
 }
예제 #12
0
 public void T11_ScrabbleScore_InputTwoLettersDifferentValuesAD_3()
 {
     Scrabble testScrabble = new Scrabble("AD");
       Assert.Equal(3, testScrabble.ScrabbleScore());
 }
예제 #13
0
 public void T9_ScrabbleScore_InputHigherValuesScore10_10()
 {
     Scrabble testScrabble = new Scrabble("Q");
       Assert.Equal(10, testScrabble.ScrabbleScore());
 }
예제 #14
0
 public void T10_ScrabbleScore_InputTwoLetterA_2()
 {
     Scrabble testScrabble = new Scrabble("AA");
       Assert.Equal(2, testScrabble.ScrabbleScore());
 }
예제 #15
0
 public void T8_ScrabbleScore_InputHigherValuesScore8_8()
 {
     Scrabble testScrabble = new Scrabble("J");
       Assert.Equal(8, testScrabble.ScrabbleScore());
 }
예제 #16
0
 public void T7_ScrabbleScore_InputHigherValuesScore5_5()
 {
     Scrabble testScrabble = new Scrabble("K");
       Assert.Equal(5, testScrabble.ScrabbleScore());
 }