Beispiel #1
0
        public void should_restrict_to_value_type_on_type_argument()
        {
            var demoObject = new ValueTypeRestrictedGenericDemoClass <int>();

            // correct the variable value to fix the test
            const int expectedInitialValue = 1;

            Assert.Equal(expectedInitialValue, demoObject.Value);
        }
        public void should_restrict_to_value_type_on_type_argument()
        {
            var demoObject = new ValueTypeRestrictedGenericDemoClass<int>();

            // correct the variable value to fix the test
            const int expectedInitialValue = 1;

            Assert.Equal(expectedInitialValue, demoObject.Value);
        }