コード例 #1
0
        public void GetDailyFee()
        {
            // Act
            Campground newCampground = new Campground
            {
                Campground_Id = 1,
                Park_Id       = 1,
                Name          = "New Campground",
                Open_From_MM  = 10,
                Open_To_MM    = 10,
                Daily_Fee     = 35.00M,
            };

            // Assert

            decimal actualResult = daoC.GetDailyFee(newCampgroundId);

            Assert.AreEqual(newCampground.Daily_Fee, actualResult);
        }