summaryrefslogtreecommitdiff
path: root/test/validate_plus_continue_tests.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-03-31 21:30:11 +0200
committerOskar <[email protected]>2024-03-31 21:30:11 +0200
commit6104c0ee7257ae99e5187f56593442ca9f04084b (patch)
tree437957ae25f7bd1544f6c725425213244d94e704 /test/validate_plus_continue_tests.c
parenta2fe6b4251181b65da4264c179c5df39c22159de (diff)
Started integrating the input system. Mainly trying to integrate the
'singles' so far because they will be the easiest.
Diffstat (limited to 'test/validate_plus_continue_tests.c')
-rw-r--r--test/validate_plus_continue_tests.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/test/validate_plus_continue_tests.c b/test/validate_plus_continue_tests.c
deleted file mode 100644
index b8c9769..0000000
--- a/test/validate_plus_continue_tests.c
+++ /dev/null
@@ -1,30 +0,0 @@
-#include <stdlib.h>
-#include <stdio.h>
-#include <unistd.h>
-#include <string.h>
-#include <errno.h>
-#include "../7ed.h"
-#include "../i_validation.h"
-#include "../input.h"
-#include <stdint.h>
-
-// Test for validate_plus_continue
-
-int main () {
- uint64_t focus = 1;
- char smode_buf[SMODE_MAX_SIZE]; // Smode buffer
- fprintf(stdout, "(%lu): ", focus); // UI
- fgets(smode_buf, SMODE_MAX_SIZE, stdin); // Read user input
-
- int ret = validate_plus_continue(smode_buf);
-
- if(ret == _INVALID) {
- printf("?\n");
- }
- if(ret == _VALID) {
- printf("valid\n");
- }
-
- return 0;
-
-} \ No newline at end of file