Ejemplo n.º 1
0
        private static LOCSegment ParseLOCSegment(string segment)
        {
            //Logics specific for parcing LOC Segments
            LOCSegment response = new LOCSegment(segment.Split(ElementDelimiter));

            return(response);
        }
Ejemplo n.º 2
0
        public void TestSegmentConstructorWith5Elements()
        {
            string[] element = new string[] { "LOC", "45", "ABCDE", "865454", "SOL'" };

            LOCSegment seg = new LOCSegment(element);

            AssertIndividualElements(element, seg);
        }
Ejemplo n.º 3
0
        public void TestSegmentConstructorWith3Elements()
        {
            string[] element = new string[] { "LOC", "08", "AAABBBCCC" };

            LOCSegment seg = new LOCSegment(element);

            AssertIndividualElements(element, seg);
        }
Ejemplo n.º 4
0
        public void TestSegmentConstructorWithWrongTag()
        {
            string[] element = new string[] { "BBB", "08", "AAABBBCCC" };

            LOCSegment seg = new LOCSegment(element);
        }