MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_empty_bitmap

Function test_empty_bitmap

plugins/lsps-plugin/src/core/features.rs:137–141  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135
136 #[test]
137 fn test_empty_bitmap() {
138 let bitmap: &[u8] = &[];
139 assert_eq!(is_feature_bit_set(bitmap, 0), false);
140 assert_eq!(is_feature_bit_set(bitmap, 8), false);
141 }
142
143 #[test]
144 fn test_feature_to_hex_bit_0_be() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected