Exemple #1
0
        public void True_IsSerializableType_UnityObject()
        {
            SerializableDictionary <UnityEngine.Object, string> testDictionary = new SerializableDictionary <UnityEngine.Object, string>();

            Assert.IsTrue(testDictionary.IsSerializableType(typeof(UnityEngine.Object)), "Expected to flag type as valid.");
        }
Exemple #2
0
        public void False_IsSerializableType_SystemObject()
        {
            SerializableDictionary <object, string> testDictionary = new SerializableDictionary <object, string>();

            Assert.IsFalse(testDictionary.IsSerializableType(typeof(object)), "Expected to flag type as invalid.");
        }