Ejemplo n.º 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testStringSuffix_SomeValues()
        public virtual void TestStringSuffixSomeValues()
        {
            StringSuffixPredicate p = IndexQuery.StringSuffix(_propId, stringValue("less"));

            assertFalse(Test(p, "lesser being"));
            assertFalse(Test(p, "make less noise please..."));
            assertTrue(Test(p, "less"));
            assertTrue(Test(p, "clueless"));
            assertTrue(Test(p, "cluelessly clueless"));
        }
Ejemplo n.º 2
0
        // STRING SUFFIX

//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void testStringSuffix_FalseForIrrelevant()
        public virtual void TestStringSuffixFalseForIrrelevant()
        {
            StringSuffixPredicate p = IndexQuery.StringSuffix(_propId, stringValue("less"));

            AssertFalseForOtherThings(p);
        }