changeset 403:2c83111b0703

More tests.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 07 Mar 2016 10:06:46 +0200
parents ec4c395aadb8
children a9152a6ee9db
files tests.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests.c	Mon Mar 07 09:29:53 2016 +0200
+++ b/tests.c	Mon Mar 07 10:06:46 2016 +0200
@@ -352,12 +352,12 @@
     //
     // Test series #1
     //
-    char *i_fmts[] = { "", "05", "5", "5", ".5", "7.5", "07.5", "3", "3.2", "3", };
+    char *i_fmts[] = { "", "05", "5", ".5", "7.5", "07.5", "3", "3.2", "3", ".0", "0" };
     char *i_mods[] = { "", "-", "+", "#", };
     char *i_types[] = { "d", "u", "i", "x", "X", "o", };
     if (test_set_start("printf() integer"))
     {
-        int i_vals[] = { 0, -0, -1, 2, -2, 612342, -612342, 0x1fff, 0x8000000, -123456789 };
+        int i_vals[] = { 0, -0, -1, 2, -2, 512, -1024, 612342, -612342, 0x1fff, 0x8000000, -123456789 };
 
         for (i1 = 0; i1 < NCOUNT(i_vals); i1++)
         {