()
| 796 | |
| 797 | #[test] |
| 798 | fn test_deletion_flag_transition() { |
| 799 | let previous = EdgeFlags::BLOCK; |
| 800 | let new_flag = EdgeFlags::BLOCK | EdgeFlags::DELETED; |
| 801 | |
| 802 | assert!(!previous.contains(EdgeFlags::DELETED)); |
| 803 | assert!(new_flag.contains(EdgeFlags::DELETED)); |
| 804 | assert!(new_flag.contains(EdgeFlags::BLOCK)); |
| 805 | } |
| 806 | |
| 807 | #[test] |
| 808 | fn test_undeletion_flag_transition() { |
nothing calls this directly
no outgoing calls
no test coverage detected