Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for TestMin (0.12 sec)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        try {
          Doubles.min();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMin() {
        assertThat(Doubles.min(LEAST)).isEqualTo(LEAST);
        assertThat(Doubles.min(GREATEST)).isEqualTo(GREATEST);
        assertThat(
                Doubles.min(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        try {
          Floats.min();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMin() {
        assertThat(Floats.min(LEAST)).isEqualTo(LEAST);
        assertThat(Floats.min(GREATEST)).isEqualTo(GREATEST);
        assertThat(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 29 15:43:06 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

            .isEqualTo((long) 9);
      }
    
      public void testMin_noArgs() {
        try {
          Longs.min();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMin() {
        assertThat(Longs.min(MIN_VALUE)).isEqualTo(MIN_VALUE);
        assertThat(Longs.min(MAX_VALUE)).isEqualTo(MAX_VALUE);
        assertThat(Longs.min((long) 8, (long) 6, (long) 7, (long) 5, (long) 3, (long) 0, (long) 9))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 30K bytes
    - Viewed (0)
  4. src/math/all_test.go

    		if f := Max(vffdim2SC[i][0], vffdim2SC[i][1]); !alike(fmaxSC[i], f) {
    			t.Errorf("Max(%g, %g) = %g, want %g", vffdim2SC[i][0], vffdim2SC[i][1], f, fmaxSC[i])
    		}
    	}
    }
    
    func TestMin(t *testing.T) {
    	for i := 0; i < len(vf); i++ {
    		if f := Min(vf[i], floor[i]); floor[i] != f {
    			t.Errorf("Min(%g, %g) = %g, want %g", vf[i], floor[i], f, floor[i])
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jul 07 17:39:26 UTC 2023
    - 86.8K bytes
    - Viewed (0)
  5. subprojects/core/src/test/resources/org/gradle/api/tasks/ide/eclipse/expectedClasspathFile.txt

      <classpathentry kind="src" path="src/main/resources"/>
      <classpathentry kind="output" path="bin"/>
      <classpathentry kind="src" path="src/test/java" output="testbin"/>
      <classpathentry kind="src" path="src/test/resources" output="testbin"/>
      <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
      <classpathentry kind="src" path="/test" combineaccessrules="false"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 05 04:16:54 UTC 2011
    - 607 bytes
    - Viewed (0)
  6. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/PreprocessingReaderTest.groovy

            output == "Here \n\n\\\n\\\n\\\n\\\n\\\n\\\n."
        }
    
        def "replaces #description at the start of content"() {
            when:
            input = testIn
    
            then:
            output == testOut
    
            where:
            description | testIn | testOut
            "line comment" | "// Comment on first line\nAnother line" | "\nAnother line"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MixedMavenAndIvyModulesIntegrationTest.groovy

                    module('org.test:maven:1.0:runtime') {
                        module('org.test:ivy:1.0') {
                            artifact(name: 'in-default')
                            module('org.test:in-default:1.0')
                        }
                    }
                }
            }
        }
    
        def "a dependency on compile scope of maven module includes default of required ivy module when they are present"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. src/cmd/go/script_test.go

    	if err != nil {
    		return nil, err
    	}
    	httpsURL, err := url.Parse(srv.HTTPS.URL)
    	if err != nil {
    		return nil, err
    	}
    	env := []string{
    		pathEnvName() + "=" + testBin + string(filepath.ListSeparator) + os.Getenv(pathEnvName()),
    		homeEnvName() + "=/no-home",
    		"CCACHE_DISABLE=1", // ccache breaks with non-existent HOME
    		"GOARCH=" + runtime.GOARCH,
    		"TESTGO_GOHOSTARCH=" + goHostArch,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. src/cmd/go/go_test.go

    	if !*testWork {
    		defer removeAll(testTmpDir)
    	}
    
    	testGOCACHE, _ = cache.DefaultDir()
    	if testenv.HasGoBuild() {
    		testBin = filepath.Join(testTmpDir, "testbin")
    		if err := os.Mkdir(testBin, 0777); err != nil {
    			log.Fatal(err)
    		}
    		testGo = filepath.Join(testBin, "go"+exeSuffix)
    		gotool, err := testenv.GoTool()
    		if err != nil {
    			fmt.Fprintln(os.Stderr, "locating go tool: ", err)
    			os.Exit(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  10. cmd/import-boss/main.go

    		// Discard packages which represent the <pkg>.test result.  They don't seem
    		// to hold any interesting source info.
    		if strings.HasSuffix(pkg.PkgPath, ".test") {
    			klog.V(3).Infof("ignoring testbin pkg: %q", pkg.PkgPath)
    			continue
    		}
    
    		// Packages which end in "_test" have tests which use the special "_test"
    		// package suffix.  Packages which have test files must be tests.  Don't
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 12:36:49 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top