2024-04-04 17:33:22 +00:00
|
|
|
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
|
2024-04-04 20:08:50 +00:00
|
|
|
|
2024-04-04 17:33:22 +00:00
|
|
|
package machine
|
|
|
|
|
|
|
|
import (
|
2024-04-04 20:08:50 +00:00
|
|
|
"testing"
|
2024-04-04 17:33:22 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func TestMachineState(t *testing.T) {
|
2024-04-04 20:08:50 +00:00
|
|
|
s := NewState("connected")
|
|
|
|
if s == nil {
|
|
|
|
t.Errorf("Failed creating new state")
|
|
|
|
}
|
2024-04-04 17:33:22 +00:00
|
|
|
}
|