- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestComplexFormatting (0.15 sec)
-
src/fmt/fmt_test.go
} else { t.Errorf("Sprintf(%q, %v) = %q want %q", tt.fmt, tt.val, s, tt.out) } } } } // TestComplexFormatting checks that a complex always formats to the same // thing as if done by hand with two singleton prints. func TestComplexFormatting(t *testing.T) { var yesNo = []bool{true, false} var values = []float64{1, 0, -1, posInf, negInf, NaN} for _, plus := range yesNo {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:31:55 UTC 2024 - 58.6K bytes - Viewed (0)