MCPcopy Create free account
hub / github.com/cpmech/plotpy / draw_plane_nzz_works

Function draw_plane_nzz_works

src/surface_geometry.rs:474–479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

draw_plane_nzzMethod · 0.80

Tested by

no test coverage detected