Example #1
0
        public void PBToDTOPattern()
        {
            PatternDTO dtoStart = Misc.CreatePatternDTO;
            PBPattern  pb       = dtoStart.ToPBPattern();
            PatternDTO dtoEnd   = pb.ToPattern();

            Assert.True(dtoStart.CompareTo(dtoEnd) == 0);
        }
Example #2
0
 public static PatternDTO ToPattern(this PBPattern c)
 {
     //# Tested
     return(new PatternDTO(c.PublicId.ToPublicId()));
 }