()
| 447 | |
| 448 | #[test] |
| 449 | fn draw_cylinder_works() { |
| 450 | let mut surf = Surface::new(); |
| 451 | surf.draw_cylinder(&[0.0, 0.0, 0.0], &[1.0, 0.0, 0.0], 1.0, 2, 3) |
| 452 | .unwrap(); |
| 453 | assert!(surf.get_buffer().len() > 0); |
| 454 | } |
| 455 | |
| 456 | #[test] |
| 457 | fn draw_plane_nzz_fails_on_wrong_input() { |
nothing calls this directly
no test coverage detected