2021-11-12 05:09:17 +01:00
|
|
|
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))
|
|
|
|
})
|
|
|
|
}
|
2021-11-20 19:14:00 +01:00
|
|
|
func TestPurgePlaces(t *testing.T) {
|
|
|
|
t.Run("success", func(t *testing.T) {
|
|
|
|
if err := PurgePlaces(); err != nil {
|
|
|
|
t.Fatal(err)
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|