24 lines
365 B
Go
24 lines
365 B
Go
package query
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestCellIDs(t *testing.T) {
|
|
t.Run("success", func(t *testing.T) {
|
|
result, err := CellIDs()
|
|
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
|
|
t.Logf("cell count: %v", len(result))
|
|
})
|
|
}
|
|
func TestPurgePlaces(t *testing.T) {
|
|
t.Run("success", func(t *testing.T) {
|
|
if err := PurgePlaces(); err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
})
|
|
}
|