()
| 1467 | |
| 1468 | #[test] |
| 1469 | fn test_gfx_height() { |
| 1470 | let mut t = Tester::default(); |
| 1471 | t.get_console().borrow_mut().set_size_pixels(SizeInPixels::new(1, 768)); |
| 1472 | t.run("result = GFX_HEIGHT").expect_var("result", 768i32).check(); |
| 1473 | |
| 1474 | check_expr_error("1:10: Graphical console size not yet set", "GFX_HEIGHT"); |
| 1475 | |
| 1476 | check_expr_compilation_error("1:10: GFX_HEIGHT expected no arguments", "GFX_HEIGHT()"); |
| 1477 | check_expr_compilation_error("1:10: GFX_HEIGHT expected no arguments", "GFX_HEIGHT(1)"); |
| 1478 | } |
| 1479 | |
| 1480 | #[test] |
| 1481 | fn test_gfx_line_ok() { |
nothing calls this directly
no test coverage detected