예제 #1
0
 public static Context CreateContextThatContainsAllPossibleNodeTypes()
 {
     return(new Context
     {
         TypeShape = CreateTypeShape(),
         SST = SSTFixture.GetSSTContainingAllPossibleNodeTypes()
     });
 }
예제 #2
0
        public void SmokeTestWithCompleteSST()
        {
            var a = _sut.Anonymize(SSTFixture.GetSSTContainingAllPossibleNodeTypes());
            var b = _sut.Anonymize(SSTFixture.GetSSTContainingAllPossibleNodeTypes());

            Assert.AreEqual(a, b);
            Assert.AreEqual(a.GetHashCode(), b.GetHashCode());
        }