Skip to content

Commit

Permalink
Merge pull request #37 from bobuhiro11/add_unit_test
Browse files Browse the repository at this point in the history
test: add unit tests
  • Loading branch information
bobuhiro11 committed Sep 27, 2021
2 parents 6e9e03e + 33ac518 commit 68d52df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions machine/machine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ func TestNewAndLoadLinux(t *testing.T) {
t.Fatal(err)
}

m.GetInputChan()
m.InjectSerialIRQ()
m.RunData()

for i := 0; i < 10; i++ {
isContinue, err := m.RunOnce(0)
if err != nil {
Expand Down

0 comments on commit 68d52df

Please sign in to comment.