| 12345678910111213141516171819202122232425262728293031 |
-
-
- import static org.junit.Assert.*;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
-
- public class ScrabbleTest
- {
-
- @Test
- public void testScrabble()
- {
- int expected =10;
- Scrabble t1=new Scrabble();
- int actual=t1.score("q");
- assertEquals(actual,expected);
- }
- @Test
- public void testScrabble1()
- {
- int expected =10;
- Scrabble t1=new Scrabble();
- int actual=t1.score("bmw");
- assertEquals(actual,expected);
- }
-
-
- }
|