コード例 #1
0
        public void TypeNameGenericQualifiedTest(Type type, string expected)
        {
            var writer = new TypeNameWriter(true);

            var actual = writer.GetTypeName(type);

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void TypeNameShortedTest(Type type, string expected)
        {
            var writer = new TypeNameWriter(false);

            var actual = writer.GetTypeName(type);

            Assert.Equal(expected, actual);
        }