()
| 740 | |
| 741 | #[test] |
| 742 | fn test_color_errors() { |
| 743 | check_stmt_compilation_err( |
| 744 | "1:1: COLOR expected <> | <fg%> | <[fg%], [bg%]>", |
| 745 | "COLOR 1, 2, 3", |
| 746 | ); |
| 747 | check_stmt_compilation_err("1:8: COLOR expected <> | <fg%> | <[fg%], [bg%]>", "COLOR 1; 2"); |
| 748 | |
| 749 | check_stmt_err("1:7: Color out of range", "COLOR 1000, 0"); |
| 750 | check_stmt_err("1:10: Color out of range", "COLOR 0, 1000"); |
| 751 | |
| 752 | check_stmt_compilation_err("1:7: BOOLEAN is not a number", "COLOR TRUE, 0"); |
| 753 | check_stmt_compilation_err("1:10: BOOLEAN is not a number", "COLOR 0, TRUE"); |
| 754 | } |
| 755 | |
| 756 | #[test] |
| 757 | fn test_inkey_ok() { |
nothing calls this directly
no test coverage detected