@Test public void testRockDrawsWithRock() { Assert.assertEquals( "rock should draw with spock", setting.getOutcome(rock), GestureSetting.DRAWN); }
@Test public void testRockLosesToSpock() { Assert.assertEquals( "rock should lose to spock", setting.getOutcome(spock), GestureSetting.LOSER); }
@Test public void testRockBeatsLizard() { Assert.assertEquals( "rock should beat lizard", setting.getOutcome(lizard), GestureSetting.WINNER); }
@Test public void testRockLosesToPaper() { Assert.assertEquals( "rock should lose to paper", setting.getOutcome(paper), GestureSetting.LOSER); }
@Test public void testRockBeatsScissor() { Assert.assertEquals( "rock should beat scissor", setting.getOutcome(scissor), GestureSetting.WINNER); }