| 1 |
SC23: Test syntax checking of output line length pragma. |
| 2 |
|
| 3 |
1. Test not three arguments. |
| 4 |
@p maximum_output_line_length |
| 5 |
@p maximum_output_line_length = |
| 6 |
@p maximum_output_line_length = xxx yyy |
| 7 |
|
| 8 |
2. Test second argument not "=". |
| 9 |
@p maximum_output_line_length x sloth |
| 10 |
|
| 11 |
3. Test value of infinity. |
| 12 |
@p maximum_output_line_length = infinity |
| 13 |
|
| 14 |
4. Test non-decimal digit in number. |
| 15 |
@p maximum_output_line_length = 2ef |
| 16 |
|
| 17 |
5. Test number is more than eight digits long. |
| 18 |
@p maximum_output_line_length = 123456789 |
| 19 |
|
| 20 |
6. Test number is exactly eight digits long. |
| 21 |
7. Test pragma opposing earlier pragma. |
| 22 |
@p maximum_output_line_length = 12345678 |
| 23 |
|
| 24 |
8. Test pragma not opposing earlier pragma. |
| 25 |
@p maximum_output_line_length = infinity |
| 26 |
|