Esempio n. 1
0
 public void Map_Longtitute_Test()
 {
     var info = new BtsExcel {Longtitute = 123.222};
     var stat = info.MapTo<CdmaBts>();
     Assert.IsNotNull(stat);
     stat.Longtitute.ShouldBe(123.222);
 }
Esempio n. 2
0
        public void Map_Null_Test()
        {
            BtsExcel info = null;
            var      stat = info.MapTo <CdmaBts>();

            Assert.IsNull(stat);
        }
Esempio n. 3
0
 public void Map_Name_Test()
 {
     var info = new BtsExcel {Name = "12orfi9"};
     var stat = info.MapTo<CdmaBts>();
     Assert.IsNotNull(stat);
     stat.Name.ShouldBe("12orfi9");
 }
Esempio n. 4
0
        public void Map_Longtitute_Test()
        {
            var info = new BtsExcel {
                Longtitute = 123.222
            };
            var stat = info.MapTo <CdmaBts>();

            Assert.IsNotNull(stat);
            stat.Longtitute.ShouldBe(123.222);
        }
Esempio n. 5
0
        public void Map_Name_Test()
        {
            var info = new BtsExcel {
                Name = "12orfi9"
            };
            var stat = info.MapTo <CdmaBts>();

            Assert.IsNotNull(stat);
            stat.Name.ShouldBe("12orfi9");
        }