mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
3.10.2 Explicitly test RecommendedTranscript
This commit is contained in:
@@ -19,6 +19,7 @@ blake2 = { version = "0.10", optional = true }
|
||||
merlin = { version = "3", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
sha2 = "0.10"
|
||||
blake2 = "0.10"
|
||||
|
||||
[features]
|
||||
|
||||
@@ -85,9 +85,16 @@ where
|
||||
|
||||
#[test]
|
||||
fn test_digest() {
|
||||
test_transcript::<crate::DigestTranscript<sha2::Sha256>>();
|
||||
test_transcript::<crate::DigestTranscript<blake2::Blake2b512>>();
|
||||
}
|
||||
|
||||
#[cfg(feature = "recommended")]
|
||||
#[test]
|
||||
fn test_recommended() {
|
||||
test_transcript::<crate::RecommendedTranscript>();
|
||||
}
|
||||
|
||||
#[cfg(feature = "merlin")]
|
||||
#[test]
|
||||
fn test_merlin() {
|
||||
|
||||
Reference in New Issue
Block a user