(t *testing.T)
| 110 | } |
| 111 | |
| 112 | func TestLimits32(t *testing.T) { |
| 113 | assert := assert.New(t) |
| 114 | |
| 115 | c := counts.NewCount32(0xffffffff) |
| 116 | number, unit := counts.Metric.Format(c, "cd") |
| 117 | assert.Equalf("∞", number, "Number for Count32(0xffffffff) in metric") |
| 118 | assert.Equalf("cd", unit, "Unit for Count32(0xffffffff) in metric") |
| 119 | } |
| 120 | |
| 121 | func TestLimits64(t *testing.T) { |
| 122 | assert := assert.New(t) |
nothing calls this directly
no test coverage detected