@Test public void testPrintPoker() { Assert.assertNotNull(PokerHelper.printPoker(pokers)); }
public static String printPoker(List<Poker> pokers) { sortPoker(pokers); switch(pokerPrinterType){ case 0: return buildHandStringSharp(pokers); case 1: return buildHandStringRounded(pokers); case 2: return textOnly(pokers); case 3: return textOnlyNoType(pokers); default: return buildHandStringSharp(pokers); } }
PokerHelper { public static String printPoker(List<Poker> pokers) { sortPoker(pokers); switch(pokerPrinterType){ case 0: return buildHandStringSharp(pokers); case 1: return buildHandStringRounded(pokers); case 2: return textOnly(pokers); case 3: return textOnlyNoType(pokers); default: return buildHandStringSharp(pokers); } } }
PokerHelper { public static String printPoker(List<Poker> pokers) { sortPoker(pokers); switch(pokerPrinterType){ case 0: return buildHandStringSharp(pokers); case 1: return buildHandStringRounded(pokers); case 2: return textOnly(pokers); case 3: return textOnlyNoType(pokers); default: return buildHandStringSharp(pokers); } }  }
PokerHelper { public static String printPoker(List<Poker> pokers) { sortPoker(pokers); switch(pokerPrinterType){ case 0: return buildHandStringSharp(pokers); case 1: return buildHandStringRounded(pokers); case 2: return textOnly(pokers); case 3: return textOnlyNoType(pokers); default: return buildHandStringSharp(pokers); } }  static void sortPoker(List<Poker> pokers); static int[] getIndexes(Character[] options, List<Poker> pokers); static boolean checkPokerIndex(int[] indexes, List<Poker> pokers); static PokerSell checkPokerType(List<Poker> pokers); static int parseScore(SellType sellType, int level); static List<Poker> getPoker(int[] indexes, List<Poker> pokers); static boolean comparePoker(List<Poker> pres, List<Poker> currents); static List<List<Poker>> distributePoker(); static String printPoker(List<Poker> pokers); static String textOnlyNoType(List<Poker> pokers); static int parsePokerColligationScore(List<Poker> pokers); static List<PokerSell> parsePokerSells(List<Poker> pokers); }
PokerHelper { public static String printPoker(List<Poker> pokers) { sortPoker(pokers); switch(pokerPrinterType){ case 0: return buildHandStringSharp(pokers); case 1: return buildHandStringRounded(pokers); case 2: return textOnly(pokers); case 3: return textOnlyNoType(pokers); default: return buildHandStringSharp(pokers); } }  static void sortPoker(List<Poker> pokers); static int[] getIndexes(Character[] options, List<Poker> pokers); static boolean checkPokerIndex(int[] indexes, List<Poker> pokers); static PokerSell checkPokerType(List<Poker> pokers); static int parseScore(SellType sellType, int level); static List<Poker> getPoker(int[] indexes, List<Poker> pokers); static boolean comparePoker(List<Poker> pres, List<Poker> currents); static List<List<Poker>> distributePoker(); static String printPoker(List<Poker> pokers); static String textOnlyNoType(List<Poker> pokers); static int parsePokerColligationScore(List<Poker> pokers); static List<PokerSell> parsePokerSells(List<Poker> pokers); static int pokerPrinterType; static int totalPrinters; }