()
| 456 | |
| 457 | #[test] |
| 458 | fn test_builder_max_vertices() { |
| 459 | let opts = OutputOptions::new().max_vertices(1000); |
| 460 | assert_eq!(opts.max_vertices, Some(1000)); |
| 461 | |
| 462 | let opts = OutputOptions::new().max_vertices(0); |
| 463 | assert_eq!(opts.max_vertices, Some(0)); |
| 464 | |
| 465 | let opts = OutputOptions::new().max_vertices(usize::MAX); |
| 466 | assert_eq!(opts.max_vertices, Some(usize::MAX)); |
| 467 | } |
| 468 | |
| 469 | #[test] |
| 470 | fn test_builder_no_vertex_limit() { |
nothing calls this directly
no test coverage detected