Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for assertEquals (0.19 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        val hostNfcPunycode = "xn--caf-dma.com"
        val hostNfd = "cafeĢ.com"
        val hostNfdPunycode = "xn--cafe-yvc.com"
        assertEquals(hostNfcPunycode, "http://$hostNfc/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfcPunycode/".toHttpUrl().host)
        assertEquals(hostNfcPunycode, "http://$hostNfd/".toHttpUrl().host)
        if (isJvm) return // TODO: the rest of this test is broken on JVM platforms.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. tests/migrate_test.go

    	err = DB.AutoMigrate(&ArrayTypeModel{})
    	AssertEqual(t, nil, err)
    
    	ct, err := findColumnType(&ArrayTypeModel{}, "number")
    	AssertEqual(t, nil, err)
    	AssertEqual(t, "varchar", ct.DatabaseTypeName())
    
    	ct, err = findColumnType(&ArrayTypeModel{}, "text_array")
    	AssertEqual(t, nil, err)
    	AssertEqual(t, "text[]", ct.DatabaseTypeName())
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  3. tests/query_test.go

    	}
    
    	if len(qs) != 2 {
    		t.Fatalf("find count not equal:%d", len(qs))
    	}
    
    	AssertEqual(t, q1, qs[0])
    	AssertEqual(t, q2, qs[1])
    }
    
    func TestQueryError(t *testing.T) {
    	type P struct{}
    	var p1 P
    	err := DB.Take(&p1, 1).Error
    	AssertEqual(t, err, gorm.ErrModelAccessibleFieldsRequired)
    
    	var p2 interface{}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      if (GetName(funcs[0]) == GetName(func0)) {
        AssertEqual(func0, funcs[0]);
        AssertEqual(func1, funcs[1]);
      } else {
        AssertEqual(func0, funcs[1]);
        AssertEqual(func1, funcs[0]);
      }
    
      TF_DeleteFunction(funcs[0]);
      TF_DeleteFunction(funcs[1]);
    
      TF_DeleteFunction(func0);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top