1
0
Fork 0
hswro-alarm-bot/test_utils.go

10 lines
254 B
Go
Raw Normal View History

package main
import "git.sr.ht/~michalr/go-satel"
func makeTestSatelEvent(changeType satel.ChangeType, index int, val bool) satel.Event {
return satel.Event{
BasicEvents: []satel.BasicEventElement{{Type: changeType, Index: index, Value: val}},
}
}