예제 #1
0
        public void TestValidPattern()
        {
            var section = new BoqItemCodeFirstSection {
                Content = "M111.11"
            };

            Assert.AreEqual(13 * 111.11, section.Value);
        }
예제 #2
0
 public void TestInvalidNumber3()
 {
     var section = new BoqItemCodeFirstSection {
         Content = "M9990.99"
     };
 }
예제 #3
0
 public void TestInvalidPrefix()
 {
     var section = new BoqItemCodeFirstSection {
         Content = "_999.99"
     };
 }