Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestAdd (0.19 sec)

  1. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/MultiProjectJvmApplicationInitIntegrationTest.groovy

            assertTestPassed("list", "org.example.list.LinkedListTest", "testConstructor")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testAdd")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testRemove")
            assertTestPassed("list", "org.example.list.LinkedListTest", "testRemoveMissing")
    
            when:
            succeeds "run"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. src/syscall/js/js_test.go

    	NegInfinity: -Infinity,
    	objNumber0: new Number(0),
    	objBooleanFalse: new Boolean(false),
    })`)
    
    //go:wasmimport _gotest add
    func testAdd(uint32, uint32) uint32
    
    func TestWasmImport(t *testing.T) {
    	a := uint32(3)
    	b := uint32(5)
    	want := a + b
    	if got := testAdd(a, b); got != want {
    		t.Errorf("got %v, want %v", got, want)
    	}
    }
    
    func TestBool(t *testing.T) {
    	want := true
    	o := dummys.Get("someBool")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 19 14:35:26 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    package application;
    
                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class AdderTest {
                        @Test
                        public void testAdd() {
                            Adder adder = new Adder();
                            Assert.assertEquals(2, adder.add(1, 1));
                            Assert.assertEquals(4, adder.add(2, 2));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      // CHECK-DAG: tf.Const{{.*}} dense<0.242886767> : tensor<1x1x6x2xf32>
      func.return %0, %21 : tensor<4xf32>, tensor<1x1x6x2xf32>
    }
    
    // CHECK-LABEL: func @testAdd() -> tensor<2x2xi32>
    func.func @testAdd() -> tensor<2x2xi32> {
    ^bb0:
      %0 = arith.constant dense<[[0, 1], [2, 3]]> : tensor<2x2xi32>
      %1 = arith.constant dense<1> : tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
Back to top