예제 #1
0
 @Test
 public void testAddSetScoreMarketPrices() {
   MatchScore matchScore = new MatchScore(2, 1);
   MarketPrices marketPrices = new MarketPrices();
   setBettingMarketData.addMatchScoreMarketPrices(matchScore, marketPrices);
   assertEquals(1, setBettingMarketData.getMatchScoreMarketData().size());
   assertEquals(marketPrices, setBettingMarketData.getMatchScoreMarketPrices(matchScore));
   assertEquals(marketPrices, setBettingMarketData.getMatchScoreMarketPrices(2, 1));
 }
예제 #2
0
 @Test
 public void testZeroScores() {
   assertEquals(0, setBettingMarketData.getMatchScoreMarketData().size());
 }