()
| 1284 | |
| 1285 | #[test] |
| 1286 | fn show_errors_works() { |
| 1287 | const WRONG: usize = 0; |
| 1288 | let mut plot = Plot::new(); |
| 1289 | plot.set_show_errors(true); |
| 1290 | plot.set_subplot(1, 1, WRONG); |
| 1291 | let path = Path::new(OUT_DIR).join("show_errors_works.svg"); |
| 1292 | assert_eq!(plot.save(&path).err(), Some("python3 failed; please see the log file")); |
| 1293 | } |
| 1294 | |
| 1295 | #[test] |
| 1296 | fn subplot_3d_works() { |
nothing calls this directly
no test coverage detected