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