MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_builder_max_vertices

Function test_builder_max_vertices

atomic-core/src/output/repo/options.rs:458–467  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

max_verticesMethod · 0.45

Tested by

no test coverage detected