aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-01-18 16:15:37 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-01-27 21:22:35 +0100
commitcc16d99f1dc8305b1b255f1cc0f2b1516aa77ed0 (patch)
treee07bb46576b327b22a3b2d0c8d51b7be29a13280 /src/test
parenta7ea2f8fdbe9392bcbd4a219a42ebd9518d2e2ef (diff)
downloadbitcoin-cc16d99f1dc8305b1b255f1cc0f2b1516aa77ed0.tar.xz
[trivial] Fix typos in comments
Diffstat (limited to 'src/test')
-rw-r--r--src/test/serialize_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/serialize_tests.cpp b/src/test/serialize_tests.cpp
index 2d54668eaf..9661a66514 100644
--- a/src/test/serialize_tests.cpp
+++ b/src/test/serialize_tests.cpp
@@ -90,7 +90,7 @@ BOOST_AUTO_TEST_CASE(sizes)
BOOST_AUTO_TEST_CASE(floats_conversion)
{
- // Choose values that map unambigiously to binary floating point to avoid
+ // Choose values that map unambiguously to binary floating point to avoid
// rounding issues at the compiler side.
BOOST_CHECK_EQUAL(ser_uint32_to_float(0x00000000), 0.0F);
BOOST_CHECK_EQUAL(ser_uint32_to_float(0x3f000000), 0.5F);
@@ -109,7 +109,7 @@ BOOST_AUTO_TEST_CASE(floats_conversion)
BOOST_AUTO_TEST_CASE(doubles_conversion)
{
- // Choose values that map unambigiously to binary floating point to avoid
+ // Choose values that map unambiguously to binary floating point to avoid
// rounding issues at the compiler side.
BOOST_CHECK_EQUAL(ser_uint64_to_double(0x0000000000000000ULL), 0.0);
BOOST_CHECK_EQUAL(ser_uint64_to_double(0x3fe0000000000000ULL), 0.5);