(t *testing.T)
| 105 | } |
| 106 | |
| 107 | func TestTableMaxN(t *testing.T) { |
| 108 | tbl := newLTable(0, 0) |
| 109 | tbl.Append(LTrue) |
| 110 | tbl.Append(LTrue) |
| 111 | tbl.Append(LTrue) |
| 112 | errorIfNotEqual(t, 3, tbl.MaxN()) |
| 113 | |
| 114 | tbl = newLTable(0, 0) |
| 115 | errorIfNotEqual(t, 0, tbl.MaxN()) |
| 116 | |
| 117 | tbl = newLTable(10, 0) |
| 118 | errorIfNotEqual(t, 0, tbl.MaxN()) |
| 119 | } |
| 120 | |
| 121 | func TestTableRemove(t *testing.T) { |
| 122 | tbl := newLTable(0, 0) |
nothing calls this directly
no test coverage detected
searching dependent graphs…