- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for TestAdd (0.21 sec)
-
platforms/jvm/jacoco/src/integTest/groovy/org/gradle/testing/jacoco/plugins/JacocoAggregationIntegrationTest.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: Thu Sep 14 16:03:36 UTC 2023 - 26.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
a := test.a.DeepCopy() a.Neg() // ensure value is same if a.Cmp(test.expected) != 0 { t.Errorf("[%d] Expected %q, got %q", i, test.expected.String(), a.String()) } } } func TestAdd(t *testing.T) { tests := []struct { a Quantity b Quantity expected Quantity }{ {decQuantity(10, 0, DecimalSI), decQuantity(1, 1, DecimalSI), decQuantity(20, 0, DecimalSI)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/ops.mlir
%0 = "tfl.logical_not"(%arg0) : (tensor<? x i32>) -> tensor<? x i32> func.return %0 : tensor<? x i32> } // Binary math ops // ----- // CHECK-LABEL: testAdd func.func @testAdd(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> { ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>): // TODO(jpienaar): Enable specifying label of enum for parsing.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
} // ----- // TODO(hinsu): Move this to MLIR core once the test dialect have a custom type. // Check that broadcastable trait accepts TF specific element type // CHECK-LABEL: func @testAdd func.func @testAdd(%arg0: tensor<4x2x!tf_type.string>, %arg1: tensor<2x!tf_type.string>) -> tensor<4x2x!tf_type.string> { %0 = "tf.Add"(%arg0, %arg1) : (tensor<4x2x!tf_type.string>, tensor<2x!tf_type.string>) -> tensor<4x2x!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0)