mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-07 19:37:51 +00:00
30 lines
731 B
Go
30 lines
731 B
Go
package core
|
|
|
|
import (
|
|
"testing"
|
|
//"github.com/nu7hatch/gouuid"
|
|
"github.com/davecgh/go-spew/spew"
|
|
. "github.com/smartystreets/goconvey/convey"
|
|
)
|
|
|
|
func TestCruncher(t *testing.T) {
|
|
Convey("Basic Cruncher Tests", t, func() {
|
|
spew.Dump("cruncher test")
|
|
|
|
/*
|
|
cluster := NewCluster()
|
|
database := cluster.GetOrCreateDatabase("main")
|
|
|
|
frame := database.GetOrCreateFrame("general")
|
|
slice := database.GetOrCreateSlice(0)
|
|
|
|
fragment_id, _ := uuid.ParseHex("6a9aea17-2915-4eb4-858f-a8d7d4dc0a1e")
|
|
spew.Dump(fragment_id)
|
|
database.GetOrCreateFragment(frame, slice, fragment_id)
|
|
|
|
spew.Dump(database)
|
|
spew.Dump("DONE")
|
|
*/
|
|
|
|
})
|
|
}
|