Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 76 for runTests (0.36 sec)

  1. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/compileTimeConstantProvider/FirIdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("arrayWithInc.kt")
      public void testArrayWithInc() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/arrayWithInc.kt");
      }
    
      @Test
      @TestMetadata("binaryExpressionWithString.kt")
      public void testBinaryExpressionWithString() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/binaryExpressionWithString.kt");
      }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 08:19:41 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/psiTypeProvider/FirIdeNormalAnalysisSourceModuleAnalysisApiPsiTypeProviderTestGenerated.java

      @Test
      @TestMetadata("actual_jvmInline_typealias.kt")
      public void testActual_jvmInline_typealias() {
        runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_jvmInline_typealias.kt");
      }
    
      @Test
      @TestMetadata("actual_typealias.kt")
      public void testActual_typealias() {
        runTest("analysis/analysis-api/testData/components/psiTypeProvider/psiType/forDeclaration/actual_typealias.kt");
      }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Mar 28 16:10:06 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. tensorflow/cc/gradients/array_grad_test.cc

      void RunTest(const Output& x, const TensorShape& x_shape, const Output& y,
                   const TensorShape& y_shape) {
        TF_ASSERT_OK(scope_.status());
        float max_error;
        TF_ASSERT_OK((ComputeGradientError<float, float, float>(
            scope_, {x}, {x_shape}, {y}, {y_shape}, &max_error)));
        EXPECT_LT(max_error, 1e-3);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/metrics/client_test.go

    		reportedMetricPoints: []metricPoint{{0, 0}, {0, 0}, {0, 0}},
    	}
    	tc.runTest(t)
    }
    
    func TestRESTClientQpsEmptyMetrics(t *testing.T) {
    	tc := restClientTestCase{
    		metricName:           "qps",
    		desiredError:         fmt.Errorf("no metrics returned from custom metrics API"),
    		reportedMetricPoints: []metricPoint{},
    	}
    
    	tc.runTest(t)
    }
    
    func TestRESTClientExternalEmptyMetrics(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 16.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/codehost/git_test.go

    					tt.tags = tags
    				} else {
    					tt.tags = clearTags
    				}
    				t.Run(path.Base(tt.repo)+"/"+tt.prefix, runTest(tt))
    			}
    		}
    	}
    }
    
    func TestLatest(t *testing.T) {
    	t.Parallel()
    
    	type latestTest struct {
    		repo string
    		info *RevInfo
    	}
    	runTest := func(tt latestTest) func(*testing.T) {
    		return func(t *testing.T) {
    			t.Parallel()
    			ctx := testContext(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 19:46:23 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/cc/gradients/math_grad_test.cc

      TensorShape y_shape({2, 5});
      RunTest({x}, {x_shape}, {y}, {y_shape});
    }
    
    TEST_F(NaryGradTest, Mean) {
      TensorShape x_shape({2, 3, 5, 7});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
      auto y = Mean(scope_, x, {1, -1});
      // y's shape is the result of reducing x along axes 1 and -1 (= 3)
      TensorShape y_shape({2, 5});
      RunTest({x}, {x_shape}, {y}, {y_shape});
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
  7. src/testing/testing_test.go

    	s := string(bytes.TrimSpace(out))
    	if s != "false" {
    		t.Errorf("in non-test testing.Test() returned %q, want %q", s, "false")
    	}
    }
    
    // runTest runs a helper test with -test.v, ignoring its exit status.
    // runTest both logs and returns the test output.
    func runTest(t *testing.T, test string) []byte {
    	t.Helper()
    
    	testenv.MustHaveExec(t)
    
    	exe, err := os.Executable()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. src/runtime/mpagecache_test.go

    		}
    		want := NewPageAlloc(afterAlloc, afterScav)
    		defer FreePageAlloc(want)
    
    		// Check to see if it worked.
    		checkPageAlloc(t, want, b)
    	}
    
    	// Empty.
    	runTest(t, 0, 0, 0)
    
    	// Full.
    	runTest(t, 0, ^uint64(0), ^uint64(0))
    
    	// Random.
    	for i := 0; i < 100; i++ {
    		// Generate random valid base within a chunk.
    		base := uint(rand.Intn(PallocChunkPages/64)) * 64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 19:16:48 UTC 2021
    - 10.8K bytes
    - Viewed (0)
  9. tests/integration/ambient/waypoint_test.go

    			t.NewSubTest("without waypoint").Run(func(t framework.TestContext) {
    				runTest(t, check.OK())
    			})
    			t.NewSubTest("with waypoint").Run(func(t framework.TestContext) {
    				// Update use-waypoint for Captured service
    				SetWaypointServiceEntry(t, "external-service", apps.Namespace.Name(), "waypoint")
    				runTest(t, check.And(check.OK(), IsL7()))
    			})
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_test.go

    	table := []interface{}{
    		&runtimetesting.TestType1{},
    		&runtimetesting.ExternalInternalSame{},
    	}
    	for _, item := range table {
    		// Try a few times, since runTest uses random values.
    		for i := 0; i < *fuzzIters; i++ {
    			runTest(t, item)
    		}
    	}
    }
    
    func TestVersionedEncoding(t *testing.T) {
    	s, _ := GetTestScheme()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top