Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-artie committed Jun 25, 2024
1 parent c729039 commit 00b5ad5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/debezium/decimal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

func TestEncodeBigInt(t *testing.T) {
assert.Equal(t, []byte{}, encodeBigInt(big.NewInt(0)))
assert.Equal(t, []byte{0xff}, encodeBigInt(big.NewInt(-1)))
assert.Equal(t, []byte{0x01}, encodeBigInt(big.NewInt(1)))
assert.Equal(t, []byte{0x11}, encodeBigInt(big.NewInt(17)))
assert.Equal(t, []byte{0x7f}, encodeBigInt(big.NewInt(127)))
Expand Down

0 comments on commit 00b5ad5

Please sign in to comment.