vise/resource/state_test.go

15 lines
251 B
Go

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