(t *testing.T)
| 111 | } |
| 112 | |
| 113 | func TestRunLeetCodeClass(t *testing.T) { |
| 114 | sampleIns := []string{` |
| 115 | ["foo","f0","f1","f2"] |
| 116 | [[],[10,100],[1,2],[11,22]] |
| 117 | `, ` |
| 118 | ["foo","f1","f2"] |
| 119 | [[],[-1,-2],[-11,-22]] |
| 120 | `} |
| 121 | sampleOuts := []string{`[null,null,3,[11,22]]`, `[null,-3,[-11,-22]]`} |
| 122 | if err := RunLeetCodeClass(t, constructor, sampleIns, sampleOuts); err != nil { |
| 123 | t.Error(err) |
| 124 | } |
| 125 | } |
nothing calls this directly
no test coverage detected