Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 311 for testB (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

      "tf_saved_model.session_initializer"() {initializers = [@init]} : () -> ()
    
      // CHECK-NOT: "tf_saved_model.asset"
      "tf_saved_model.asset"() {filename = "assets/test0.txt", sym_name = "asset0"} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/test1.txt", sym_name = "asset1"} : () -> ()
    
      // CHECK: func @init()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/libtf/tests/value_test.cc

      ASSERT_STREQ(value1a.s(), "string1");
      ASSERT_STREQ(value2.s(), "string2");
    }
    
    TEST(Test1, TestDict) {
      TaggedValue s1("test1");
      TaggedValue s2("test2");
      TaggedValue d = TaggedValue::Dict();
      d.dict()[s2] = TaggedValue(6.f);
      std::stringstream stream;
      stream << d;
      ASSERT_EQ(stream.str(), "{test2: 6, }");
    }
    
    namespace {
    TaggedValue add(TaggedValue args, TaggedValue kwargs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 11:18:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/TestClassExecutionEventGeneratorTest.groovy

        def "fires event on test class failure when some tests have been started"() {
            def failure = TestFailure.fromTestFrameworkFailure(new RuntimeException())
            TestDescriptorInternal test1 = Mock()
            TestDescriptorInternal test2 = Mock()
    
            given:
            idGenerator.generateId() >> 1
            test1.id >> 2
            test2.id >> 3
    
            and:
            processor.testClassStarted("some-test")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. src/cmd/go/internal/generate/generate_test.go

    	}
    	g.setEnv()
    	for _, test := range splitTestsLines {
    		// if the test specified a line number, reflect that
    		if test.lineNumber != anyLineNo {
    			g.lineNum = test.lineNumber
    			g.setEnv()
    		}
    		// First with newlines.
    		got := g.split("//go:generate " + test.in + "\n")
    		if !reflect.DeepEqual(got, test.out) {
    			t.Errorf("split(%q): got %q expected %q", test.in, got, test.out)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 20 14:09:12 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  5. src/go/version/version_test.go

    	in1 In1
    	in2 In2
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. pkg/proxy/util/linebuffer_test.go

    			name:     "none",
    			input:    []interface{}{},
    			expected: "\n",
    		},
    		{
    			name:     "one string",
    			input:    []interface{}{"test1"},
    			expected: "test1\n",
    		},
    		{
    			name:     "one slice",
    			input:    []interface{}{[]string{"test1", "test2"}},
    			expected: "test1 test2\n",
    		},
    		{
    			name:     "mixed",
    			input:    []interface{}{"s1", "s2", []string{"s3", "s4"}, "", "s5", []string{}, []string{"s6"}, "s7"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        }
    
        @Test public void pass() {}
    }
    
    public class ATestClassWithSeveralMethods {
        @Test public void pass() {}
        @Test public void pass2() {}
        @Test public void passSlowly() {}
        @Test public void passSlowly2() {}
        @Test public void fail() { throw new RuntimeException("Boo!") }
    }
    public class ATestClassWithSlowMethods {
        @Test public void pass() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/TestedProjectFixture.groovy

        }
    
        static class JavaTestClass {
            public static final PRESERVED_TEST1 = new JavaTestClass('org.gradle.Test1', 'org.gradle.Test1')
            public static final PRESERVED_TEST2 = new JavaTestClass('org.gradle.Test2', 'org.gradle.Test2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_clustercfg.yaml

    apiVersion: kubeadm.k8s.io/v1beta3
    kind: ClusterConfiguration
    controlPlaneEndpoint: test1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 118 bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FilteredConfigurationIntegrationTest.groovy

            outputContains("external-dependencies: [test1-1.0.jar]")
            outputContains("child1-dependencies: [child1.jar, child1-lib.jar, test2-1.0.jar]")
        }
    
        @ToBeFixedForConfigurationCache(because = "task uses Configuration API")
        def "can query files for filtered first level dependencies when there is a cycle in the dependency graph"() {
            mavenRepo.module("group", "test1", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top