Example #1
0
        public void AddGlobalReport()
        {
            string       expectedGlobalKey = "Global %";
            string       flop         = "9s 4h 3s";
            ActiveReport globalReport = new ActiveReport();

            this.Summary.FormatRecords(this.ActiveReport.Records);
            this.Summary.CalculateCombos(this.ActiveReport.Records);

            globalReport.ReadHeaders(@"C:\Users\noahb\OneDrive\Dokumente\Poker\PRE\TestData\report.csv", 3);
            globalReport.ReadRecords(@"C:\Users\noahb\OneDrive\Dokumente\Poker\PRE\TestData\report.csv", 4);
            this.Summary.AddGlobalReport(globalReport.Records);

            Assert.IsTrue(this.Summary.Records[flop].ContainsKey(expectedGlobalKey));
        }