Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for booltest (0.16 sec)

  1. test/ken/cplx1.go

    		panic("fail")
    	}
    
    	b = C1 != (5 + 6i)
    	if b {
    		println("const bool 4", b)
    		panic("fail")
    	}
    
    	// vars passed through parameters
    	booltest(5+6i, true)
    	booltest(5+7i, false)
    	booltest(6+6i, false)
    	booltest(6+9i, false)
    }
    
    func booltest(a complex64, r bool) {
    	var b bool
    
    	b = a == C1
    	if b != r {
    		println("param bool 1", a, b, r)
    		panic("fail")
    	}
    
    	b = a != C1
    	if b == r {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 05:24:24 UTC 2012
    - 1.4K bytes
    - Viewed (0)
  2. src/database/sql/convert_test.go

    		}
    		if ct.wantf64 != 0 && ct.wantf64 != float64Value(ct.d) {
    			errf("want float32 %v, got %v", ct.wantf64, float64Value(ct.d))
    		}
    		if bp, boolTest := ct.d.(*bool); boolTest && *bp != ct.wantbool && ct.wanterr == "" {
    			errf("want bool %v, got %v", ct.wantbool, *bp)
    		}
    		if !ct.wanttime.IsZero() && !ct.wanttime.Equal(timeValue(ct.d)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. src/encoding/asn1/asn1_test.go

    package asn1
    
    import (
    	"bytes"
    	"encoding/hex"
    	"fmt"
    	"math"
    	"math/big"
    	"reflect"
    	"strings"
    	"testing"
    	"time"
    )
    
    type boolTest struct {
    	in  []byte
    	ok  bool
    	out bool
    }
    
    var boolTestData = []boolTest{
    	{[]byte{0x00}, true, false},
    	{[]byte{0xff}, true, true},
    	{[]byte{0x00, 0x00}, false, false},
    	{[]byte{0xff, 0xff}, false, false},
    	{[]byte{0x01}, false, false},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 18:24:36 UTC 2023
    - 43.6K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

            result.assertTestClassesExecuted("Foo1Test", "Foo2Test")
            result.testClass("Foo1Test").assertTestOutcomes(passedTestOutcome, "pass1")
            result.testClass("Foo2Test").assertTestOutcomes(passedTestOutcome, "pass2")
        }
    
        def "reports when no matching methods found"() {
            file("src/test/java/org/gradle/FooTest.java") << """
                package org.gradle;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/testsJar/some-thing/src/test/java/FooTest.java

    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class FooTest {
      @Test public void test() {
        assertTrue(true);
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 138 bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/LoomTest.kt

    import mockwebserver3.MockWebServer
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    class LoomTest {
      @JvmField
      @RegisterExtension
      val platform = PlatformRule()
    
      @JvmField
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private lateinit var server: MockWebServer
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/expandProperties/some-thing/src/test/java/FooTest.java

    import org.junit.Test;
    import static junit.framework.Assert.assertFalse;
    
    public class FooTest {
    
      @Test
      public void test() {
        assertFalse(false);
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 159 bytes
    - Viewed (0)
  8. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/sourcesJar/some-thing/src/test/java/FooTest.java

    import org.junit.Test;
    
    public class FooTest {
      @Test public void test() { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 80 bytes
    - Viewed (0)
  9. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/singleModule/some-thing/src/test/java/FooTest.java

    import org.junit.Test;
    
    public class FooTest {
      @Test public void test() {
        assert false: "test failure";
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 116 bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/resources/org/gradle/buildinit/plugins/MavenConversionIntegrationTest/javadocJar/some-thing/src/test/java/FooTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import org.junit.Test;
    
    public class FooTest {
      @Test public void test() { }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 13:47:19 UTC 2023
    - 697 bytes
    - Viewed (0)
Back to top