MCPcopy Index your code
hub / github.com/endbasic/endbasic / test_gpio_read_errors

Function test_gpio_read_errors

std/src/gpio/mod.rs:605–610  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 2

check_pin_validationFunction · 0.85

Tested by

no test coverage detected