From 45e1278acbf789b1a855b2cc81112b4768a27b3b Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sun, 14 May 2017 14:49:55 +0200 Subject: [PATCH] tests/print_number: Add test with 17 digits of precision --- tests/print_number.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/print_number.c b/tests/print_number.c index bda455c..5ebb348 100644 --- a/tests/print_number.c +++ b/tests/print_number.c @@ -68,6 +68,7 @@ static void print_number_should_print_positive_reals(void) assert_print_number("1000000000000", 10e11); assert_print_number("1.23e+129", 123e+127); assert_print_number("1.23e-126", 123e-128); + assert_print_number("3.1415926535897931", 3.1415926535897931); } static void print_number_should_print_negative_reals(void)