コード例 #1
0
        public void CreateOneTest()
        {
            var package = new Package();

            package.ID               = -1;
            package.Weight           = 2.0;
            package.Height           = 2.0;
            package.Length           = 2.0;
            package.Weight           = 2.0;
            package.RecordedPackage  = 1;
            package.LiveAnimals      = 1;
            package.CautiousParcel   = 1;
            package.RefregiatedGoods = 1;
            var test_data = new PackageDAO();

            test_data.CreateOne(package);
            Clean();
            Assert.IsNotNull(test_data);
        }