Beispiel #1
0
        public void TestValidPattern()
        {
            var section = new BoqItemCodeSection {
                Content = "(xxviii)"
            };

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