Exemple #1
0
        public void GetMonthlyChartTest()
        {
            WorkOutDBLayer.WorkOutActiveDb db = new WorkOutDBLayer.WorkOutActiveDb();
            int expected    = 5;
            int actualCount = db.GetMonthlyChart().ChartData.Count;

            Assert.AreEqual(expected, actualCount);
        }
Exemple #2
0
        public void GetWorkOutSummaryTest()
        {
            WorkOutDBLayer.WorkOutActiveDb db = new WorkOutDBLayer.WorkOutActiveDb();
            int expected    = 120;
            int actualCount = db.GetWorkOutSummary().CurrentWeek;

            Assert.AreEqual(expected, actualCount);
        }