- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestAdd (0.19 sec)
-
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)