Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for test_equals (0.15 sec)

  1. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

    public class PrunedTagTest extends UnitFessTestCase {
    
        public void test_hashCode() {
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.hashCode() >= 0);
    
        }
    
        public void test_equals() {
    
            PrunedTag prunedtag = new PrunedTag("tag");
    
            assertTrue(prunedtag.equals(prunedtag));
            assertEquals(false, prunedtag.equals(null));
            assertEquals(false, prunedtag.equals(""));
    
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            synonymItem.setNewInputs(new String[0]);
            synonymItem.setNewOutputs(new String[0]);
            assertTrue(synonymItem.isUpdated());
            assertTrue(synonymItem.isDeleted());
        }
    
        public void test_equals1() {
            final SynonymItem synonymItem1 = new SynonymItem(1, new String[] { "a", "A" }, new String[] { "b", "B" });
    
            assertTrue(synonymItem1.equals(synonymItem1));
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItemTest.java

            stemmerOverrideItem.setNewInput("");
            stemmerOverrideItem.setNewOutput("");
            assertTrue(stemmerOverrideItem.isUpdated());
            assertTrue(stemmerOverrideItem.isDeleted());
        }
    
        public void test_equals1() {
            final StemmerOverrideItem stemmerOverrideItem1 = new StemmerOverrideItem(1, "aaa", "a");
    
            assertTrue(stemmerOverrideItem1.equals(stemmerOverrideItem1));
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiItemTest.java

            assertFalse(kuromojiItem.isDeleted());
    
            kuromojiItem.setNewToken("");
            assertTrue(kuromojiItem.isUpdated());
            assertTrue(kuromojiItem.isDeleted());
        }
    
        public void test_equals1() {
            final KuromojiItem kuromojiItem1 = new KuromojiItem(1, "t1", "s1", "r1", "p1");
    
            assertTrue(kuromojiItem1.equals(kuromojiItem1));
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. internal/etag/etag_test.go

    	{A: "3b83ef96387f14655fc854ddc3c6bd57", B: "3b83ef96387f14655fc854ddc3c6bd57-2", Equal: false}, // 2
    	{A: "3b83ef96387f14655fc854ddc3c6bd57", B: "ceb8853ddc5086cc4ab9e149f8f09c88", Equal: false},   // 3
    }
    
    func TestEqual(t *testing.T) {
    	for i, test := range equalTests {
    		A, err := Parse(test.A)
    		if err != nil {
    			t.Fatalf("Test %d: %v", i, err)
    		}
    		B, err := Parse(test.B)
    		if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. src/bytes/bytes_test.go

    // slices before invoking the functions.
    
    var abcd = "abcd"
    var faces = "☺☻☹"
    var commas = "1,2,3,4"
    var dots = "1....2....3....4"
    
    type BinOpTest struct {
    	a string
    	b string
    	i int
    }
    
    func TestEqual(t *testing.T) {
    	// Run the tests and check for allocation at the same time.
    	allocs := testing.AllocsPerRun(10, func() {
    		for _, tt := range compareTests {
    			eql := Equal(tt.a, tt.b)
    			if eql != (tt.i == 0) {
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
Back to top