From 90e07dd7596b54068111de4a1fd831aa92af17bc Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 29 Nov 2015 13:34:49 +0200 Subject: [PATCH] Improved AppendUint tests --- bytesconv_32_test.go | 4 ++++ bytesconv_64_test.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/bytesconv_32_test.go b/bytesconv_32_test.go index 90223c0..4c52ebb 100644 --- a/bytesconv_32_test.go +++ b/bytesconv_32_test.go @@ -17,6 +17,10 @@ func TestAppendUint(t *testing.T) { testAppendUint(t, 0) testAppendUint(t, 123) testAppendUint(t, 0x7fffffff) + + for i := 0; i < 2345; i++ { + testAppendUint(t, i) + } } func TestReadHexIntSuccess(t *testing.T) { diff --git a/bytesconv_64_test.go b/bytesconv_64_test.go index 0b068ff..d63a69d 100644 --- a/bytesconv_64_test.go +++ b/bytesconv_64_test.go @@ -17,6 +17,10 @@ func TestAppendUint(t *testing.T) { testAppendUint(t, 0) testAppendUint(t, 123) testAppendUint(t, 0x7fffffffffffffff) + + for i := 0; i < 2345; i++ { + testAppendUint(t, i) + } } func TestReadHexIntSuccess(t *testing.T) {