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

Function test_bound_integration

std/src/arrays.rs:345–355  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

343
344 #[test]
345 fn test_bound_integration() {
346 Tester::default()
347 .run("DIM x(5): FOR i = LBOUND(x) TO UBOUND(x): x(i) = i * 2: NEXT")
348 .expect_var("i", 5i32)
349 .expect_array_simple(
350 "x",
351 ExprType::Integer,
352 vec![0i32.into(), 2i32.into(), 4i32.into(), 6i32.into(), 8i32.into()],
353 )
354 .check();
355 }
356}

Callers

nothing calls this directly

Calls 4

expect_array_simpleMethod · 0.80
expect_varMethod · 0.80
checkMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected