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

Function test_closure

tests/test.rs:101–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100#[test]
101fn test_closure() {
102 let plot = Plot::new(|x: f64| x.powf(2.) - 0.5);
103 plot.show();
104}
105
106#[test]
107fn test_poly_3() {

Callers

nothing calls this directly

Calls 1

showMethod · 0.45

Tested by

no test coverage detected