Esempio n. 1
0
        public void VBCanonicalFunctionDefaultTranslator_finds_all_expected_methods()
        {
            var methods = new ExpressionConverter.MethodCallTranslator.VBCanonicalFunctionDefaultTranslator(
                typeof(Microsoft.VisualBasic.Strings).Assembly()).Methods;

            Assert.Equal(11, methods.Count());
            Assert.True(methods.All(m => m != null));
        }
        public void VBCanonicalFunctionDefaultTranslator_finds_all_expected_methods()
        {
            var methods = new ExpressionConverter.MethodCallTranslator.VBCanonicalFunctionDefaultTranslator(
                typeof(Microsoft.VisualBasic.Strings).Assembly()).Methods;

            Assert.Equal(11, methods.Count());
            Assert.True(methods.All(m => m != null));
        }