mirror of
https://github.com/zellyn/diskii.git
synced 2024-11-04 22:07:36 +00:00
23 lines
421 B
Go
23 lines
421 B
Go
package woz_test
|
|
|
|
import (
|
|
"bytes"
|
|
"testing"
|
|
|
|
"github.com/zellyn/diskii/data"
|
|
"github.com/zellyn/diskii/woz"
|
|
)
|
|
|
|
func TestBasicLoad(t *testing.T) {
|
|
bb := data.MustAsset("data/disks/dos33master.woz")
|
|
wz, err := woz.Decode(bytes.NewReader(bb))
|
|
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")
|
|
}
|