add test 10ddd to verify E_STRING values for calc computation error codes

Added tests to the calc regression test suite (cal/regress.cal) to
verify that the errnum calc computation error codes and their
E_STRING values have not changed.
This commit is contained in:
Landon Curt Noll
2023-09-20 23:10:32 -07:00
parent b741e98b13
commit 5fbb0ad2ea
4 changed files with 579 additions and 2 deletions

View File

@@ -48,7 +48,7 @@
* primary error code defines
*/
#define E__NONE 0 /* calc_errno cleared: libc errno codes above here */
#define E__BASE 10000 /* calc errors start above here */
#define E__BASE 10000 /* calc computation error codes start above here */
#define E__USERDEF 20000 /* user defined error codes start here */
#define E__USERMAX 32767 /* maximum user defined error code */