Make the bitcoin Algorithm test a unit test

This commit is contained in:
Luke Parker 2023-03-21 18:50:23 -04:00
parent d58a7b0ebf
commit 11a0803ea5
No known key found for this signature in database
3 changed files with 5 additions and 1 deletions

View file

@ -14,3 +14,6 @@ pub(crate) mod crypto;
pub mod wallet; pub mod wallet;
/// A minimal asynchronous Bitcoin RPC client. /// A minimal asynchronous Bitcoin RPC client.
pub mod rpc; pub mod rpc;
#[cfg(test)]
mod tests;

View file

@ -12,7 +12,7 @@ use frost::{
tests::{algorithm_machines, key_gen, sign}, tests::{algorithm_machines, key_gen, sign},
}; };
use bitcoin_serai::{ use crate::{
bitcoin::hashes::{Hash as HashTrait, sha256::Hash}, bitcoin::hashes::{Hash as HashTrait, sha256::Hash},
crypto::{x_only, make_even, Schnorr}, crypto::{x_only, make_even, Schnorr},
}; };

View file

@ -0,0 +1 @@
mod crypto;