• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1BOUNDARY TESTS
2==============
3It is sometimes useful to test parameter boundaries as part of API testing.
4In the POSIX Test Suite Framework, variables cannot be assigned to values that
5would cause warnings (because warnings are treated as errors), so the following
6list of boundary values has been created for boundary testing.
7
8These boundary values are those values that the gcc compiler would set an
9invalid parameter to during compile time:
10
11INT32_MAX+1       -2147483647 (gcc compiler gave -2147483648)
12INT32_MIN-1        2147483647
13unassigned val    -1073743192
14unassigned val     1075002478
15
16Potentially the MAX+1/MIN-1 values are deterministic.  The others are just
17empirical examples.
18
19Contributors:	julie.n.fleischer REMOVE-THIS AT intel DOT com
20		geoffrey.r.gustafson REMOVE-THIS AT intel DOT com
21