Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 60 for testminio (0.26 sec)

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

      }
    
      @GwtIncompatible
      public void testMin_noArgs() {
        try {
          Ints.min();
          fail();
        } catch (IllegalArgumentException expected) {
        }
      }
    
      public void testMin() {
        assertThat(Ints.min(LEAST)).isEqualTo(LEAST);
        assertThat(Ints.min(GREATEST)).isEqualTo(GREATEST);
        assertThat(Ints.min((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9))
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 06 16:10:08 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/go/scanner/scanner_test.go

    	if S.ErrorCount != len(invalidSegments) {
    		t.Errorf("got %d errors; want %d", S.ErrorCount, len(invalidSegments))
    	}
    }
    
    // Verify that initializing the same scanner more than once works correctly.
    func TestInit(t *testing.T) {
    	var s Scanner
    
    	// 1st init
    	src1 := "if true { }"
    	f1 := fset.AddFile("src1", fset.Base(), len(src1))
    	s.Init(f1, []byte(src1), nil, dontInsertSemis)
    	if f1.Size() != len(src1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/list/list.go

    		wg.Wait()
    		for _, pkgset := range testPackages {
    			p, pmain, ptest, pxtest := pkgset.p, pkgset.pmain, pkgset.ptest, pkgset.pxtest
    			if pmain != nil {
    				pkgs = append(pkgs, pmain)
    				data := *pmain.Internal.TestmainGo
    				sema.Acquire(ctx, 1)
    				wg.Add(1)
    				go func() {
    					h := cache.NewHash("testmain")
    					h.Write([]byte("testmain\n"))
    					h.Write(data)
    					out, _, err := c.Put(h.Sum(), bytes.NewReader(data))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 16:56:39 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/conversion_test.go

    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/apimachinery/pkg/util/uuid"
    	"k8s.io/apimachinery/pkg/util/wait"
    	etcd3watcher "k8s.io/apiserver/pkg/storage/etcd3"
    	"k8s.io/client-go/dynamic"
    	_ "k8s.io/component-base/logs/testinit" // enable logging flags
    
    	apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
    	apiextensionsv1beta1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 06 05:32:34 UTC 2023
    - 47.1K bytes
    - Viewed (0)
  8. src/cmd/go/internal/load/pkg.go

    //   - is a synthesized "main" package for a test binary, or
    //   - contains only _test.go files.
    func (p *Package) IsTestOnly() bool {
    	return p.ForTest != "" ||
    		p.Internal.TestmainGo != nil ||
    		len(p.TestGoFiles)+len(p.XTestGoFiles) > 0 && len(p.GoFiles)+len(p.CgoFiles) == 0
    }
    
    type PackageInternal struct {
    	// Unexported fields are not part of the public API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  9. src/cmd/go/internal/test/test.go

    		pmain.Internal.OmitDebug = false
    	}
    
    	if !cfg.BuildN {
    		// writeTestmain writes _testmain.go,
    		// using the test description gathered in t.
    		if err := os.WriteFile(testDir+"_testmain.go", *pmain.Internal.TestmainGo, 0666); err != nil {
    			return nil, nil, nil, err
    		}
    	}
    
    	// Set compile objdir to testDir we've already created,
    	// so that the default file path stripping applies to _testmain.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. 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)
Back to top