()
| 74 | #[cfg(not(target_os = "linux"))] |
| 75 | #[test] |
| 76 | fn test_fn() { |
| 77 | //let plot = Plot::new((|x: f64| (2. * std::f64::consts::PI * x).sin(), 15000)); |
| 78 | //let plot = Plot::new((|x: f64| x.powf(2.), 1000000)); |
| 79 | let plot = Plot::new((|x: f64| x.powf(3.) + x.powf(2.) - 0.08, 10000)); |
| 80 | //plot.show_threaded(); |
| 81 | plot.show(); |
| 82 | |
| 83 | let plot = Plot::new((|x: f64| x.powf(2.) + 0.08, 10000)); |
| 84 | plot.show() |
| 85 | } |
| 86 | |
| 87 | /* |
| 88 | #[cfg(target_os = "linux")] |