(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestWriteString(t *testing.T) { |
| 108 | b := &IntBuffer{} |
| 109 | exp := "Hello, world! Hello, Yunshan Networks!" |
| 110 | b.WriteString(exp) |
| 111 | if b.String() != exp { |
| 112 | t.Errorf("Expected %v found %v", exp, b.String()) |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | func TestReset(t *testing.T) { |
| 117 | b := &IntBuffer{} |
nothing calls this directly
no test coverage detected