(t *testing.T)
| 163 | } |
| 164 | |
| 165 | func TestSafeInt8(t *testing.T) { |
| 166 | assert.Equal(t, int8(100), safeInt8(100)) |
| 167 | assert.Equal(t, int8(math.MaxInt8), safeInt8(int(math.MaxInt8)+123)) |
| 168 | } |
| 169 | |
| 170 | func TestSafeUint16(t *testing.T) { |
| 171 | assert.Equal(t, uint16(100), safeUint16(100)) |
nothing calls this directly
no test coverage detected