()
| 603 | |
| 604 | #[test] |
| 605 | fn test_gpio_read_errors() { |
| 606 | check_expr_compilation_error("1:10: GPIO_READ expected pin%", r#"GPIO_READ()"#); |
| 607 | check_expr_compilation_error("1:10: GPIO_READ expected pin%", r#"GPIO_READ(1, 2)"#); |
| 608 | |
| 609 | check_pin_validation("1:15: ", "1:15: ", r#"v = GPIO_READ(_PIN_)"#); |
| 610 | } |
| 611 | |
| 612 | #[test] |
| 613 | fn test_gpio_write_ok() { |
nothing calls this directly
no test coverage detected