MCPcopy Create free account
hub / github.com/endbasic/endbasic / test_print_welcome_and_is_narrow_agree

Function test_print_welcome_and_is_narrow_agree

repl/src/lib.rs:340–347  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

338
339 #[test]
340 fn test_print_welcome_and_is_narrow_agree() {
341 let (narrow, max_length) = check_is_narrow_welcome(1000);
342 assert!(!narrow, "Long message not found");
343
344 for i in 0..max_length {
345 assert!(check_is_narrow_welcome(u16::try_from(i).unwrap()).0, "Long message found");
346 }
347 }
348
349 #[test]
350 fn test_print_welcome_draw_logo_default() {

Callers

nothing calls this directly

Calls 1

check_is_narrow_welcomeFunction · 0.85

Tested by

no test coverage detected