Ejemplo n.º 1
0
        public void TestValidPattern()
        {
            var section = new BoqItemCodeSection {
                Content = "(xxviii)"
            };

            Assert.AreEqual(28, section.Value);
        }
Ejemplo n.º 2
0
 public void TestInvalidPattern4()
 {
     var section = new BoqItemCodeSection {
         Content = "(iiii)"
     };
 }
Ejemplo n.º 3
0
 public void TestEndsWithInvalid()
 {
     var section = new BoqItemCodeSection {
         Content = "(xviii"
     };
 }
Ejemplo n.º 4
0
 public void TestInvalidPattern2()
 {
     var section = new BoqItemCodeSection {
         Content = "(xxxxviii"
     };
 }
Ejemplo n.º 5
0
 public void TestStartsWithInvalid()
 {
     var section = new BoqItemCodeSection {
         Content = "xviii)"
     };
 }