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

Function test_read_simple

std/src/data.rs:236–249  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

234
235 #[test]
236 fn test_read_simple() {
237 Tester::default()
238 .run(
239 r#"
240 READ i: PRINT i
241 READ i: PRINT i
242 DATA 3, 5, -7
243 READ i: PRINT i
244 "#,
245 )
246 .expect_prints([" 3", " 5", "-7"])
247 .expect_var("I", -7)
248 .check();
249 }
250
251 #[test]
252 fn test_read_multiple() {

Callers

nothing calls this directly

Calls 4

expect_varMethod · 0.80
checkMethod · 0.45
expect_printsMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected