Example #1
0
        public void TestSerializable()
        {
            var dict = new SerializableDictionary <int, int> {
                [0] = 1
            };

            dict.OnBeforeSerialize();

            dict.OnAfterDeserialize();

            Assert.AreEqual(1, dict[0]);
        }