vise/go/resource/state_test.go
2023-04-08 10:20:34 +01:00

15 lines
239 B
Go

package resource
import (
"testing"
"git.defalsify.org/festive/state"
)
func TestStateResourceInit(t *testing.T) {
st := state.NewState(0)
rs := NewMenuResource()
_ = ToStateResource(rs).WithState(&st)
_ = NewStateResource(&st)
}