15 lines
249 B
Go
15 lines
249 B
Go
// Copyright 2024 Matthew Rich <matthewrich.conf@gmail.com>. All rights reserved.
|
|
|
|
package machine
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestMachineState(t *testing.T) {
|
|
s := NewState("connected")
|
|
if s == nil {
|
|
t.Errorf("Failed creating new state")
|
|
}
|
|
}
|