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

Function test_vertex_flags_display

atomic-core/src/output/alive/vertex.rs:538–545  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

536
537 #[test]
538 fn test_vertex_flags_display() {
539 assert_eq!(VertexFlags::empty().to_string(), "NONE");
540 assert_eq!(VertexFlags::VISITED.to_string(), "VISITED");
541 assert_eq!(
542 (VertexFlags::VISITED | VertexFlags::ZOMBIE).to_string(),
543 "VISITED|ZOMBIE"
544 );
545 }
546
547 // -------------------------------------------------------------------------
548 // AliveVertex Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected