- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for AsDec (0.02 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
{"1.", decQuantity(1, 0, DecimalSI)}, {"1.G", decQuantity(1, 9, DecimalSI)}, } for _, asDec := range []bool{false, true} { for _, item := range table { got, err := ParseQuantity(item.input) if err != nil { t.Errorf("%v: unexpected error: %v", item.input, err) continue } if asDec { got.AsDec() } if e, a := item.expect, got; e.Cmp(a) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0)