1
0
mirror of https://github.com/ariejan/i6502.git synced 2024-05-28 22:41:34 +00:00
i6502/acia6551_test.go
2014-08-17 16:49:22 +02:00

16 lines
251 B
Go

package i6502
import (
"github.com/stretchr/testify/assert"
"testing"
)
func TestNewAcia6551(t *testing.T) {
tx := make(chan byte)
rx := make(chan byte)
acia, err := NewAcia6551(rx, tx)
assert.Nil(t, err)
assert.Equal(t, 0x4, acia.Size())
}