import junit.framework.TestCase;

/**
 * Test class for PA3: Yahtzee Scores (Decisions and Logic).
 *
 * @author YOUR NAME HERE
 * @version DUE DATE HERE
 */
public class YahtzeeTest extends TestCase {
    
    /**
     * Example test cases from the assignment handout.
     */
    public static void testExample() {
        Dice dice;
        dice = new Dice(1, 2, 3, 4, 5);  // large straight
        
        assertEquals(1, Yahtzee.calculateScore(Yahtzee.ONES, dice));
        assertEquals(0, Yahtzee.calculateScore(Yahtzee.THREE_OF_A_KIND, dice));
        assertEquals(40, Yahtzee.calculateScore(Yahtzee.LARGE_STRAIGHT, dice));
    }
    
}
