717273747576777879
PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); } public void testTameHand_5_4_2_2() { Hand h = new Hand("A,K,4,3,2", "K,J,9,2", "3,2", "Q,9"); PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); }
777879808182838485
PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); } public void testTameHand_5_4_3_1() { Hand h = new Hand("A,3,2", "A,K,4,3,2", "K,J,9,2", "Q"); PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); }
838485868788899091
PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); } public void testTameHand_6_3_2_2() { Hand h = new Hand("A,K,10,7,3,2", "A,K,4", "K,2", "Q,J"); PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); }
899091929394959697
PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); } public void testTameHand_6_3_3_1() { Hand h = new Hand("A,K,10,7,3,2", "A,K,4", "K,J,2", "J"); PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); }
9596979899100101102103
PointCalculator pc = new PointCalculator(h); assertTrue(pc.isTame()); } public void testRP1() { Hand h = RPQuizzes.Basics.Lesson2.hand1(); PointCalculator pc = new PointCalculator(h); assertEquals(16, pc.getCombinedPoints()); }
101102103104105106107108109
PointCalculator pc = new PointCalculator(h); assertEquals(16, pc.getCombinedPoints()); } public void testRP2() { Hand h = RPQuizzes.Basics.Lesson2.hand2(); PointCalculator pc = new PointCalculator(h); assertEquals(12, pc.getCombinedPoints()); }
107108109110111112113114115
PointCalculator pc = new PointCalculator(h); assertEquals(12, pc.getCombinedPoints()); } public void testRP3() { Hand h = RPQuizzes.Basics.Lesson2.hand3(); PointCalculator pc = new PointCalculator(h); assertEquals(14, pc.getCombinedPoints()); }
113114115116117118119120121
PointCalculator pc = new PointCalculator(h); assertEquals(14, pc.getCombinedPoints()); } public void testRP4() { Hand h = RPQuizzes.Basics.Lesson2.hand4(); PointCalculator pc = new PointCalculator(h); assertEquals(15, pc.getCombinedPoints()); }
119120121122123124125126127128
PointCalculator pc = new PointCalculator(h); assertEquals(15, pc.getCombinedPoints()); } public void testRP5() { Hand h = RPQuizzes.Basics.Lesson2.hand5(); PointCalculator pc = new PointCalculator(h); assertEquals(18, pc.getCombinedPoints()); assertEquals(17, pc.getHighCardPoints()); }
126127128129130131132133134
assertEquals(18, pc.getCombinedPoints()); assertEquals(17, pc.getHighCardPoints()); } public void testRP6() { Hand h = RPQuizzes.Basics.Lesson2.hand6(); PointCalculator pc = new PointCalculator(h); assertEquals(18, pc.getCombinedPoints()); }