MCPcopy Create free account
hub / github.com/bitflags/bitflags / test_single_flags

Function test_single_flags

src/tests/bitflags_match.rs:29–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28#[test]
29fn test_single_flags() {
30 assert_eq!(flag_to_string(Flags::A), "A");
31 assert_eq!(flag_to_string(Flags::B), "B");
32 assert_eq!(flag_to_string(Flags::C), "C");
33 assert_eq!(flag_to_string(Flags::D), "D");
34}
35
36#[test]
37fn test_or_operations() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected