- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,750 for Assert1 (0.13 sec)
-
src/internal/types/testdata/fixedbugs/issue62157.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 23:22:35 UTC 2023 - 3.2K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
// basic types have size guarantees assert(unsafe.Sizeof(byte(0)) == 1) assert(unsafe.Sizeof(uint8(0)) == 1) assert(unsafe.Sizeof(int8(0)) == 1) assert(unsafe.Sizeof(uint16(0)) == 2) assert(unsafe.Sizeof(int16(0)) == 2) assert(unsafe.Sizeof(uint32(0)) == 4) assert(unsafe.Sizeof(int32(0)) == 4) assert(unsafe.Sizeof(float32(0)) == 4) assert(unsafe.Sizeof(uint64(0)) == 8) assert(unsafe.Sizeof(int64(0)) == 8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
pkg/test/util/assert/assert.go
t.Fatalf("found diff: %v\nGot: %v\nWant: %v", cmp.Diff(a, expected, opts(expected)...), a, expected) } } // Error asserts the provided err is non-nil func Error(t test.Failer, err error) { t.Helper() if err == nil { t.Fatal("expected error but got nil") } } // NoError asserts the provided err is nil func NoError(t test.Failer, err error) { t.Helper() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf-assert.mlir
func.func @preserve_assert(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi1> { %0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1> "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> () func.return %0 : tensor<1xi1> // CHECK-LABEL: preserve_assert // CHECK: tfl.less_equal // CHECK: Assert // CHECK: return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 14:24:59 UTC 2022 - 481 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordedResponse.kt
* limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.isBetween import assertk.assertions.isEqualTo import assertk.assertions.isFalse import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.IOException import java.text.SimpleDateFormat
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /** * Asserts that an escaper escapes the given character into the expected string.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
// Escapers operate on characters: no characters, no escaping. Assert.assertEquals("", escaper.escape("")); // Assert that escapers throw null pointer exceptions. try { escaper.escape((String) null); Assert.fail("exception not thrown when escaping a null string"); } catch (NullPointerException e) { // pass } } /** * Asserts that an escaper escapes the given character into the expected string.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 3.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy
} //asserts file changed/added since last snapshot void recompiledFile(String fileName) { recompiledFiles(fileName) } //asserts files changed/added since last snapshot void recompiledFiles(String... fileNames) { def expectedNames = fileNames.collect({ removeExtension(it) }) as Set assert changedFileNames == expectedNames }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.8K bytes - Viewed (0) -
cmd/kubeadm/test/kubeconfig/util.go
// Asserts the clientCert has expected expectedUserName as CommonName certstestutil.AssertCertificateHasCommonName(t, currentClientCert, expectedClientName) // Asserts the clientCert has expected Organizations certstestutil.AssertCertificateHasOrganizations(t, currentClientCert, expectedOrganizations...) } // AssertKubeConfigCurrentAuthInfoWithToken is a utility function for kubeadm testing that asserts if the CurrentAuthInfo in
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/UrlValidator.groovy
assert url.text.contains(contents) } /** * Asserts that the content at the specified url matches the content in the provided String */ static void assertUrlContent(URL url, String contents) { assert TextUtil.normaliseLineSeparators(url.text) == TextUtil.normaliseLineSeparators(contents) } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0)