summaryrefslogtreecommitdiff
path: root/test/validate_check_imm.c
diff options
context:
space:
mode:
authorOskar <>2024-03-22 19:56:34 +0100
committerOskar <>2024-03-22 19:56:34 +0100
commit3bb6a5a525bc3edbf853c9f557486fb12081840a (patch)
treeeaf4dece2b6f6c036dbcbd630679bfee1ddcb1b3 /test/validate_check_imm.c
parenteb0556f79fec4b7faaa374c702aa78bceb089334 (diff)
vcimm tested, some invalid checks are let through but thats out of scope for this function. It will be checked for in other functions.
Diffstat (limited to 'test/validate_check_imm.c')
-rw-r--r--test/validate_check_imm.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/validate_check_imm.c b/test/validate_check_imm.c
index 789cf70..48867f9 100644
--- a/test/validate_check_imm.c
+++ b/test/validate_check_imm.c
@@ -18,11 +18,17 @@ int main () {
int ret = validate_check_imm(smode_buf);
+ if (ret == _IMM_NUMBER) {
+ printf("imm number\n");
+ }
if(ret == _INVALID) {
printf("?\n");
}
if(ret == _VALID) {
- printf("valid plusonly\n");
+ printf("valid\n");
+ }
+ if(ret == _NA) {
+ printf("_NA\n");
}
return 0;