Add sanity-check unit test for RecoveryId
This is kinda silly but gets me 100% coverage from kcov
This commit is contained in:
parent
f8bbc89df6
commit
1ba1f5b2ce
|
@ -506,6 +506,12 @@ mod tests {
|
|||
assert_eq!(pk, new_pk);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn recid_sanity_check() {
|
||||
let one = RecoveryId(1);
|
||||
assert_eq!(one, one.clone());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn invalid_pubkey() {
|
||||
let s = Secp256k1::new();
|
||||
|
|
Loading…
Reference in New Issue