tdb/index_array_test.go
2020-04-15 23:53:50 -05:00

16 lines
304 B
Go

package tdb
import (
"testing"
)
func TestArrayIndexedInsert(t *testing.T) {
setupTestDb()
defer cleanupTestDb()
mid1 := tdb.TEST_Main.CreateOrPanic(&TEST_Main{})
mid2 := tdb.TEST_Main.CreateOrPanic(&TEST_Main{})
tdb.TEST_ArrayHas.CreateOrPanic(&TEST_ArrayHas{MainIds: []uint64{mid1, mid2}})
}