mirror of https://github.com/vacp2p/zerokit.git
refactor(semaphore): Use crate::protocol for tests
Instead of semaphore-rs as black box.
This commit is contained in:
parent
61b63cb90e
commit
e7fdcd1e8a
|
@ -1,8 +1,17 @@
|
|||
#![allow(clippy::multiple_crate_versions)]
|
||||
|
||||
pub mod protocol;
|
||||
pub mod circuit;
|
||||
|
||||
#[cfg(feature = "dylib")]
|
||||
pub use circuit::initialize;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use semaphore::{
|
||||
hash_to_field, identity::Identity, poseidon_tree::PoseidonTree, protocol::*, Field,
|
||||
hash_to_field, identity::Identity, poseidon_tree::PoseidonTree, Field,
|
||||
};
|
||||
use crate::protocol::*;
|
||||
|
||||
#[test]
|
||||
fn test_semaphore() {
|
||||
|
|
Loading…
Reference in New Issue