@Test public void statsCorrect() { jonijokunen.allPlayerStats(); String tulos = tulosvirta.toString(); assertTrue(tulos.contains(tulos)); }
@Test public void playerPositionCorrect() { assertEquals(tiiatimonen.getPosition(), Position.BigBlind); }
@Test public void playerSetPositionCorrect() { jonijokunen.setPosition(Position.SmallBlind); assertEquals(jonijokunen.getPosition(), Position.SmallBlind); }
// TODO add test methods here. // The methods must be annotated with annotation @Test. For example: // @Test public void playerNameCorrect() { assertEquals(jonijokunen.getName(), "jonijokunen"); }