()
| 472 | |
| 473 | #[test] |
| 474 | fn draw_plane_nzz_works() { |
| 475 | let mut surf = Surface::new(); |
| 476 | surf.draw_plane_nzz(&[0.0, 0.0, 0.0], &[1.0, 1.0, 1.0], 0.0, 1.0, 0.0, 1.0, 2, 2) |
| 477 | .unwrap(); |
| 478 | assert!(surf.get_buffer().len() > 0); |
| 479 | } |
| 480 | |
| 481 | #[test] |
| 482 | fn draw_hemisphere_fails_on_wrong_input() { |
nothing calls this directly
no test coverage detected