(t *testing.T)
| 196 | } |
| 197 | |
| 198 | func TestToString(t *testing.T) { |
| 199 | L := NewState() |
| 200 | defer L.Close() |
| 201 | L.Push(LNumber(10)) |
| 202 | L.Push(LString("99.9")) |
| 203 | L.Push(L.NewTable()) |
| 204 | errorIfNotEqual(t, "10", L.ToString(1)) |
| 205 | errorIfNotEqual(t, "99.9", L.ToString(2)) |
| 206 | errorIfNotEqual(t, "", L.ToString(3)) |
| 207 | } |
| 208 | |
| 209 | func TestToTable(t *testing.T) { |
| 210 | L := NewState() |
nothing calls this directly
no test coverage detected
searching dependent graphs…