diskii/woz/woz_test.go
2021-07-12 16:27:13 -04:00

22 lines
387 B
Go

package woz_test
import (
"bytes"
"testing"
"github.com/zellyn/diskii/data"
"github.com/zellyn/diskii/woz"
)
func TestBasicLoad(t *testing.T) {
wz, err := woz.Decode(bytes.NewReader(data.DOS33master_woz))
if err != nil {
t.Fatal(err)
}
if len(wz.Unknowns) > 0 {
t.Fatalf("want 0 unknowns; got %d", len(wz.Unknowns))
}
// fmt.Printf("%#v\n", wz)
// t.Fatal("NOTHING")
}