Files
mesh-sdk/go/buildcpu/buildcpu_agree_test.go
T

15 lines
483 B
Go

package buildcpu
import (
"testing"
"git.novox.be/novox/mesh-sdk/go/catalogue"
)
// The share's names the composer gives are the build modules' (catalogue writes them too, so it does not import this).
func TestTheShareNamesAgreeWithTheCatalogues(t *testing.T) {
if ShareSetting != catalogue.BuildCPUShareSetting || ShareWord != catalogue.BuildCPUShareWord || DefaultPercent != catalogue.BuildCPUDefaultPercent {
t.Fatal("buildcpu's share names differ from catalogue's")
}
}