diff options
author | Vaibhav Gupta <vaibhavgupta40@gmail.com> | 2019-06-14 00:59:24 +0530 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2019-06-19 11:03:35 -0500 |
commit | d9fcb22a612f850edbc26966b0d5cdca8d950a53 (patch) | |
tree | 15b8bd0094fc655f705aa284eb290d6670c7fefa /testsuites/psxtests/psxinttypes01/psxinttypes01.scn | |
parent | rtems/confdefs.h: Fix typo (diff) | |
download | rtems-d9fcb22a612f850edbc26966b0d5cdca8d950a53.tar.bz2 |
psxtests: Add psxinttypes01 for <inttypes.h> methods
Diffstat (limited to 'testsuites/psxtests/psxinttypes01/psxinttypes01.scn')
-rw-r--r-- | testsuites/psxtests/psxinttypes01/psxinttypes01.scn | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testsuites/psxtests/psxinttypes01/psxinttypes01.scn b/testsuites/psxtests/psxinttypes01/psxinttypes01.scn new file mode 100644 index 0000000000..09aec2942d --- /dev/null +++ b/testsuites/psxtests/psxinttypes01/psxinttypes01.scn @@ -0,0 +1,43 @@ +*** PSXINTTYPE 01 TEST *** + +strtoimax Testcases.... +Valid Inputs - Positive Number +Final string pointed by endptr +Valid Inputs - Negative Number +Final string pointed by endptr +Valid Input - Positive Number - Number out of Range +Valid Input - Negative Number - Number out of Range +Invalid Input - Send NULL Pointer +Invalid Input - Invalid base - Use base = 40 + +strtoumax Testcases.... +Valid Inputs - Positive Number +Final string pointed by endptr +Valid Inputs - Negative Number +Final string pointed by endptr +Valid Input - Positive Number - Number out of Range +Valid Input - Negative Number - Number out of Range +Invalid Input - Send NULL Pointer +Invalid Input - Invalid base - Use base = 40 + +wcstoimax Testcases.... +Valid Inputs - Positive Number +Final string pointed by endptr +Valid Inputs - Negative Number +Final string pointed by endptr +Valid Input - Positive Number - Number out of Range +Valid Input - Negative Number - Number out of Range +Invalid Input - Send NULL Pointer +Invalid Input - Invalid base - Use base = 40 + +wcstoumax Testcases.... +Valid Inputs - Positive Number +Final string pointed by endptr +Valid Inputs - Negative Number +Final string pointed by endptr +Valid Input - Positive Number - Number out of Range +Valid Input - Negative Number - Number out of Range +Invalid Input - Send NULL Pointer +Invalid Input - Invalid base - Use base = 40 + +*** END OF PSXINTTYPE 01 TEST *** |