mirror of
https://github.com/ariejan/i6502.git
synced 2024-05-28 22:41:34 +00:00
16 lines
251 B
Go
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())
|
|
}
|