Esempio n. 1
0
        public void SndIsPublicReadOnlyT2Property()
        {
            // TestTools Code
            StructureTest test = Factory.CreateStructureTest();

            test.AssertPublicReadonlyField <Pair <string, int>, int>(p => p.Snd);
            test.AssertPublicReadonlyField <Pair <string, double>, double>(p => p.Snd);
            test.Execute();
        }
Esempio n. 2
0
        public void FstIsPublicReadOnlyT1Property()
        {
            // TestTools Code
            StructureTest test = Factory.CreateStructureTest();

            test.AssertPublicReadonlyField <Pair <string, int>, string>(p => p.Fst);
            test.AssertPublicReadonlyField <Pair <double, int>, double>(p => p.Fst);
            test.Execute();
        }