MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / test_parse_string_array

Function test_parse_string_array

src/shader_build.rs:736–740  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

734
735 #[test]
736 fn test_parse_string_array() {
737 let json = r#"["a","b","c"]"#;
738 let arr = parse_string_array(json);
739 assert_eq!(arr, vec!["a", "b", "c"]);
740 }
741
742 #[test]
743 fn test_hash_round_trip() {

Callers

nothing calls this directly

Calls 1

parse_string_arrayFunction · 0.85

Tested by

no test coverage detected