Exemplo n.º 1
0
 private void LoadBetsData()
 {
     IBetsDataManager betsDataManager = new BetsDataManager();
     SettledBets = betsDataManager.ReadBetsFromFile("BettingData/Settled.csv");
     UnsettledBets = betsDataManager.ReadBetsFromFile("BettingData/Unsettled.csv");
 }
 public void Test_GetBets()
 {
     IBetsDataManager betsDataManager = new BetsDataManager();
     var bets = betsDataManager.ReadBetsFromFile(fileName);
     Assert.AreEqual(bets.Count, 50);
 }