vise/resource/state_test.go

15 lines
236 B
Go
Raw Normal View History

2023-04-08 11:20:34 +02:00
package resource
import (
"testing"
2023-04-14 10:59:37 +02:00
"git.defalsify.org/vise/state"
2023-04-08 11:20:34 +02:00
)
func TestStateResourceInit(t *testing.T) {
st := state.NewState(0)
rs := NewMenuResource()
_ = ToStateResource(rs).WithState(&st)
_ = NewStateResource(&st)
}