MCPcopy Create free account
hub / github.com/elftausend/graplot / test_desc

Function test_desc

tests/desc.rs:4–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3#[test]
4fn test_desc() {
5 let desc = Desc {
6 end_x: x(2.),
7 ..Default::default()
8 };
9 assert_eq!(
10 Desc {
11 end_x: Some(XEnd(2.)),
12 spacing_x: 40.,
13 spacing_y: 40.,
14 min_steps_x: 4.,
15 min_steps_y: 4.
16 },
17 desc
18 );
19}
20
21#[test]
22fn test_desc_render() {

Callers

nothing calls this directly

Calls 1

xFunction · 0.85

Tested by

no test coverage detected