Example #1
0
        public void OperationStatisticMapperTeamCountTest()
        {
            OperationStatisticMapper osm = new OperationStatisticMapper();
            int teamCount = osm.getTeamCountFromDB();

            Assert.AreEqual(0, teamCount);
        }
Example #2
0
        public void OperationStatisticMapperVolunteerCountTest()
        {
            OperationStatisticMapper osm = new OperationStatisticMapper();
            int volunteerCount           = osm.getVolunteerCountFromDB();

            Assert.AreEqual(0, volunteerCount);
        }
Example #3
0
        public void OperationStatisticMapperCreationTest()
        {
            OperationStatisticMapper  osm    = new OperationStatisticMapper();
            List <OperationStatistic> osList = new List <OperationStatistic>();

            Assert.AreEqual(0, osm.getList().Count);
            osList = osm.getList();

            Assert.AreEqual(osList.Count, osm.getList().Count);
            osm.ClearList();
            Assert.AreEqual(0, osm.getList().Count);
        }