|
|
|
|
@ -47,8 +47,8 @@ func TestNew_3(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
N: "Yo",
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92,
|
|
|
|
|
0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49,
|
|
|
|
|
0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24,
|
|
|
|
|
@ -94,8 +94,8 @@ func TestNew_fail(t *testing.T) {
|
|
|
|
|
func TestDraw_NRGBA_3(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb,
|
|
|
|
|
0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49,
|
|
|
|
|
0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24,
|
|
|
|
|
@ -119,8 +119,8 @@ func TestDraw_NRGBA_3(t *testing.T) {
|
|
|
|
|
func TestDraw_RGBA_3(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb,
|
|
|
|
|
0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49,
|
|
|
|
|
0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24,
|
|
|
|
|
@ -144,8 +144,8 @@ func TestDraw_RGBA_3(t *testing.T) {
|
|
|
|
|
func TestDraw_RGBA_4(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92,
|
|
|
|
|
0x49, 0x24, 0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49,
|
|
|
|
|
0x24, 0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0xdb, 0x6d, 0xb6,
|
|
|
|
|
@ -171,8 +171,8 @@ func TestDraw_RGBA_4(t *testing.T) {
|
|
|
|
|
func TestDraw_Limits(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb,
|
|
|
|
|
0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49,
|
|
|
|
|
0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24,
|
|
|
|
|
@ -196,8 +196,8 @@ func TestDraw_Limits(t *testing.T) {
|
|
|
|
|
func TestWrite_3(t *testing.T) {
|
|
|
|
|
g := gpiostreamtest.PinOutPlayback{
|
|
|
|
|
Ops: []gpiostream.Stream{
|
|
|
|
|
&gpiostream.BitStream{
|
|
|
|
|
Bits: gpiostream.Bits{
|
|
|
|
|
&gpiostream.BitStreamMSB{
|
|
|
|
|
Bits: gpiostream.BitsMSB{
|
|
|
|
|
0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb,
|
|
|
|
|
0x6d, 0xb6, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49,
|
|
|
|
|
0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0xdb, 0x6d, 0xb6, 0x92, 0x49, 0x24, 0x92, 0x49, 0x24,
|
|
|
|
|
|