aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-03-19 10:59:13 -0700
committerChristian Cunningham <cc@localhost>2022-03-19 10:59:13 -0700
commit875da917d07a4ff6620f41825a47f53941636214 (patch)
tree379167814af87043e02f0c612d6683f156906168
parent7321e5fe1b5410f249804985ec32e00b2963a3e8 (diff)
Do More Tests
-rw-r--r--src/tests/test.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/tests/test.c b/src/tests/test.c
index 77df62e..89979f9 100644
--- a/src/tests/test.c
+++ b/src/tests/test.c
@@ -12,9 +12,9 @@ void qualitative_tests(void);
static int x = 0;
static int y = 13;
-#define TEST_STR_CLR " "
-#define TEST_RESULT_WIDTH 14
-#define TEST_COUNT 128
+#define TEST_STR_CLR " "
+#define TEST_RESULT_WIDTH 15
+#define TEST_COUNT 4096
#define TEST_BIN_COUNT 32
void test_entry(void)
{
@@ -42,7 +42,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;
@@ -63,7 +63,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;
@@ -84,7 +84,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;
@@ -105,7 +105,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;
@@ -127,7 +127,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;
@@ -149,7 +149,7 @@ void test_entry(void)
draw_u10(tidx+9, y+6+i, bins[i]);
bins[i] = 0;
}
- draw_string(tidx, y+5, " ");
+ draw_string(tidx, y+5, " ");
len = draw_u10(tidx, y+5, dt/TEST_COUNT);
draw_u10(tidx+len+1, y+5, dt%TEST_COUNT);
tidx += TEST_RESULT_WIDTH;