Beispiel #1
0
        public void PerfTestEnum(int count, bool runLegacy)
        {
            Test4 t4 = new Test4 {
                D = TestEnum.D
            };

            Assert.IsTrue(LoadTestItem(t4, count, count, runLegacy, runLegacy, runLegacy, true, runLegacy, false, 0x20, 0x03));
        }
Beispiel #2
0
        public void PerfTestEnumOnce()
        {
            Test4 t4 = new Test4 {
                D = TestEnum.D
            };

            Assert.IsTrue(Program.CheckBytes(t4, 0x20, 0x03));
            Assert.AreEqual(t4.D, Serializer.DeepClone(t4).D);
        }