(item: Draw)
| 534 | } |
| 535 | |
| 536 | fn encode_draw(item: Draw) -> String { |
| 537 | let mut result = String::new(); |
| 538 | item.encode_canvas(&mut result); |
| 539 | result |
| 540 | } |
| 541 | |
| 542 | #[test] |
| 543 | fn encode_newpath() { assert!(&encode_draw(Draw::Path(PathOp::NewPath)) == "Np") } |
nothing calls this directly
no test coverage detected