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

Function draw_cylinder_works

src/surface_geometry.rs:449–454  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

draw_cylinderMethod · 0.80

Tested by

no test coverage detected