MCPcopy Create free account
hub / github.com/Notgnoshi/generative / test_style_stroke_dasharray

Function test_style_stroke_dasharray

generative/io/wkt.rs:365–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

363
364 #[test]
365 fn test_style_stroke_dasharray() {
366 let wkt = b"STROKEDASHARRAY(1 4)";
367 let mut geometries = read_wkt_geometries_and_styles(&wkt[..]);
368 let style = geometries.next();
369 assert_eq!(
370 style,
371 Some(GeometryAndStyle::Style(SvgStyle::StrokeDasharray(
372 "1 4".into()
373 )))
374 );
375 }
376
377 #[test]
378 fn test_style_stroke_dasharray_commas() {

Callers

nothing calls this directly

Calls 2

nextMethod · 0.45

Tested by

no test coverage detected