- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,316 for nfail (0.13 sec)
-
test/ken/cplx1.go
b = (5 + 6i) == C1 if !b { println("const bool 1", b) panic("fail") } b = (5 + 6i) != C1 if b { println("const bool 2", b) panic("fail") } b = C1 == (5 + 6i) if !b { println("const bool 3", b) panic("fail") } b = C1 != (5 + 6i) if b { println("const bool 4", b) panic("fail") } // vars passed through parameters booltest(5+6i, true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.4K bytes - Viewed (0) -
test/ken/divmod.go
println("ideal-1", n1, d1, n1/d1, n1%d1) panic("fail") } if n2/d1 != q2 || n2%d1 != r2 { println("ideal-2", n2, d1, n2/d1, n2%d1) panic("fail") } if n1/d2 != q3 || n1%d2 != r3 { println("ideal-3", n1, d2, n1/d2, n1%d2) panic("fail") } if n2/d2 != q4 || n2%d2 != r4 { println("ideal-4", n2, d2, n2/d2, n2%d2) panic("fail") } /* int */ var in1 int = +5 var in2 int = -5
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 5.1K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context_windows_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 30 02:29:11 UTC 2022 - 4.6K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-resolutionStrategy/groovy/build.gradle
} // end::dependencies[] // tag::fail-on-version-conflict[] configurations.all { resolutionStrategy { failOnVersionConflict() } } // end::fail-on-version-conflict[] // tag::fail-on-dynamic[] configurations.all { resolutionStrategy { failOnDynamicVersions() } } // end::fail-on-dynamic[] // tag::fail-on-changing[] configurations.all {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 891 bytes - Viewed (0) -
test/initcomma.go
panic("fail") } if b[1] != 2 { println("b[1]", b[1]) panic("fail") } if b[2] != 3 { println("b[2]", b[2]) panic("fail") } if b[3] != 0 { println("b[3]", b[3]) panic("fail") } if b[4] != 0 { println("b[4]", b[4]) panic("fail") } if c[0] != 1 { println("c[0]", c[0]) panic("fail") } if d[0] != 1 { println("d[0]", d[0]) panic("fail") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 20:44:24 UTC 2012 - 1.2K bytes - Viewed (0) -
test/range.go
panic("fail") } if s != 15 { println("wrong sum ranging over makearray", s) panic("fail") } } func testarray1() { s := 0 nmake = 0 for i := range makearray() { s += i } if nmake != 1 { println("range called makearray", nmake, "times") panic("fail") } if s != 10 { println("wrong sum ranging over makearray", s) panic("fail") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 05:50:54 UTC 2017 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
MathPreconditions.checkPositive("int", 0); fail(); } catch (IllegalArgumentException expected) { } } public void testCheckPositive_maxInt() { MathPreconditions.checkPositive("int", Integer.MAX_VALUE); } public void testCheckPositive_minInt() { try { MathPreconditions.checkPositive("int", Integer.MIN_VALUE); fail(); } catch (IllegalArgumentException expected) { }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 8.2K bytes - Viewed (0) -
test/ken/range.go
println("key array range", k, v, a[k]) panic("fail") } i++ } if i != size { println("key array size", i) panic("fail") } i = 0 for k := range p { v := p[k] if v != f(k) { println("key pointer range", k, v, p[k]) panic("fail") } i++ } if i != size { println("key pointer size", i) panic("fail") } i = 0 for k := range m { v := m[k]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz.txt
! stdout ^ok stdout FAIL # Test that calling f.Fatal in a fuzz target causes a non-zero exit status. ! go test fatal_fuzz_test.go ! stdout ^ok stdout FAIL # Test that successful test exits cleanly. go test success_fuzz_test.go stdout ^ok ! stdout FAIL # Test that successful fuzzing exits cleanly. go test -fuzz=Fuzz -fuzztime=1x success_fuzz_test.go stdout ok ! stdout FAIL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 10.2K bytes - Viewed (0) -
test/ken/interbasic.go
s = ia[0].(string) if s != "xxx" { println(0, s) panic("fail") } i32 = int32(ia[1].(int)) if i32 != 12345 { println(1, i32) panic("fail") } b = ia[2].(bool) if b != true { println(2, b) panic("fail") } s = ia[3].(string) if s != "now is" { println(3, s) panic("fail") } b = ia[4].(bool) if b != false { println(4, b)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 2.2K bytes - Viewed (0)