Exemple #1
0
        /// <summary>
        ///Ein Test für "GetValue"
        ///</summary>
        public void GetValueTestHelper <TValueType>()
        {
            var obj       = new TweeningTestObject();
            var fieldInfo = obj.GetType().GetField("GenericValue");
            var target    = new FieldAccessor <TValueType>(obj, fieldInfo);

            var expected = default(TValueType);
            var actual   = target.GetValue();

            Assert.AreEqual(expected, actual);
        }