(t *testing.T)
| 6 | ) |
| 7 | |
| 8 | func Test2x4Decoder(t *testing.T) { |
| 9 | decoder := NewDecoder2x4() |
| 10 | |
| 11 | decoder.Update(false, false) |
| 12 | checkDecoder2x4Output(decoder, []bool{true, false, false, false}, t) |
| 13 | decoder.Update(false, true) |
| 14 | checkDecoder2x4Output(decoder, []bool{false, true, false, false}, t) |
| 15 | decoder.Update(true, false) |
| 16 | checkDecoder2x4Output(decoder, []bool{false, false, true, false}, t) |
| 17 | decoder.Update(true, true) |
| 18 | checkDecoder2x4Output(decoder, []bool{false, false, false, true}, t) |
| 19 | } |
| 20 | |
| 21 | func Test3x8Decoder(t *testing.T) { |
| 22 | decoder := NewDecoder3x8() |
nothing calls this directly
no test coverage detected