MCPcopy Create free account
hub / github.com/bluejekyll/enum-as-inner / test_empty

Function test_empty

tests/basic.rs:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20#[test]
21fn test_empty() {
22 let empty = std::option::Option::None::<EmptyTest>;
23
24 assert!(empty.is_none());
25}
26
27#[derive(Debug, EnumAsInner, Clone, Copy)]
28enum EmptyParendsTest {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected