func TestQuantityCanocicalizeZero(t *testing.T) {
	val := MustParse("1000m")
	val.i.Sub(int64Amount{value: 1})
	zero := Quantity{i: val.i, Format: DecimalSI}
	if expected, actual := "0", zero.String(); expected != actual {
		t.Errorf("Expected %v, actual %v", expected, actual)
	}
}
// TestQuantityCanocicalizeZero verifies that you get 0 as canonical value if internal value is 0, and not 0<suffix>
TestQuantityCanocicalizeZero verifies that you get 0 as canonical value if internal value is 0, and not 0
// TestQuantityCanocicalizeZero verifies that you get 0 as canonical value if internal value is 0 and not 0<suffix >
func TestQuantityCanocicalizeZero(t *testing.T) {
	val := MustParse("1000m")
	val.i.Sub(int64Amount{value: 1})
	zero := Quantity{i: val.i, Format: DecimalSI}
	if expected, actual := "0", zero.String(); expected != actual {
		t.Errorf("Expected %v, actual %v", expected, actual)
	}
}
func TestQuantityCanocicalizeZero ( t * testing . T ) { val := MustParse ( " " ) val . i . Sub ( int64Amount { value : 1 } ) zero := Quantity { i : val . i , Format : DecimalSI } if expected , actual := " " , zero . String ( ) ; expected != actual { t . Errorf ( " " , expected , actual ) } }
TestQuantityCanocicalizeZero verifies that you get 0 as canonical value if internal value is 0, and not 0
TestQuantityCanocicalizeZero verifies that you get 0 as canonical value if internal value is 0 and not 0