mirror of
https://github.com/fumiama/unibase2n.git
synced 2026-06-19 09:50:26 +08:00
fix amd64 Base256 error
This commit is contained in:
@@ -78,9 +78,9 @@ func TestDec16blk8(t *testing.T) {
|
||||
}
|
||||
n, _ := Base{bit: 8}.EncodeLen(32)
|
||||
out := make([]byte, n)
|
||||
enc16blk8(0x2333, in[:], out)
|
||||
enc16blk8(0x1100, in[:], out)
|
||||
t.Log(out)
|
||||
dec16blk8(0x2333, out[:], tmp[:])
|
||||
dec16blk8(0x1100, out[:], tmp[:])
|
||||
assert.Equal(t, in, tmp)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user