16 lines
383 B
Go
16 lines
383 B
Go
package assignment
|
|
|
|
import (
|
|
"os"
|
|
"testing"
|
|
|
|
"git.novox.be/novox/mesh-sdk/go/catalogue"
|
|
"git.novox.be/novox/mesh-sdk/go/seatlist/seatlisttest"
|
|
)
|
|
|
|
// TestMain gives catalogue the seat list a host reads (ADR 0636 §1): none is compiled into mesh-sdk.
|
|
func TestMain(m *testing.M) {
|
|
catalogue.UseSeats(catalogue.SeatsFromDefinitions(seatlisttest.Definitions()))
|
|
os.Exit(m.Run())
|
|
}
|