示例#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);
 }
示例#2
0
        public void Map_Null_Test()
        {
            BtsExcel info = null;
            var      stat = info.MapTo <CdmaBts>();

            Assert.IsNull(stat);
        }
示例#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");
 }
示例#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);
        }
示例#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");
        }