@@ -304,8 +304,8 @@ mod tests {
304304
305305 #[ test]
306306 #[ cfg( all( feature = "std" , feature = "rand-std" ) ) ]
307- fn test_schnorrsig_sign_with_aux_rand_verify ( ) {
308- test_schnorrsig_sign_helper ( |secp, msg, seckey, rng| {
307+ fn schnorr_sign_with_aux_rand_verify ( ) {
308+ sign_helper ( |secp, msg, seckey, rng| {
309309 let mut aux_rand = [ 0u8 ; 32 ] ;
310310 rng. fill_bytes ( & mut aux_rand) ;
311311 secp. sign_schnorr_with_aux_rand ( msg, seckey, & aux_rand)
@@ -314,30 +314,30 @@ mod tests {
314314
315315 #[ test]
316316 #[ cfg( all( feature = "std" , feature = "rand-std" ) ) ]
317- fn test_schnorrsig_sign_with_rng_verify ( ) {
318- test_schnorrsig_sign_helper ( |secp, msg, seckey, mut rng| {
317+ fn schnor_sign_with_rng_verify ( ) {
318+ sign_helper ( |secp, msg, seckey, mut rng| {
319319 secp. sign_schnorr_with_rng ( msg, seckey, & mut rng)
320320 } )
321321 }
322322
323323 #[ test]
324324 #[ cfg( all( feature = "std" , feature = "rand-std" ) ) ]
325- fn test_schnorrsig_sign_verify ( ) {
326- test_schnorrsig_sign_helper ( |secp, msg, seckey, _| {
325+ fn schnorr_sign_verify ( ) {
326+ sign_helper ( |secp, msg, seckey, _| {
327327 secp. sign_schnorr ( msg, seckey)
328328 } )
329329 }
330330
331331 #[ test]
332332 #[ cfg( all( feature = "std" , feature = "rand-std" ) ) ]
333- fn test_schnorrsig_sign_no_aux_rand_verify ( ) {
334- test_schnorrsig_sign_helper ( |secp, msg, seckey, _| {
333+ fn schnorr_sign_no_aux_rand_verify ( ) {
334+ sign_helper ( |secp, msg, seckey, _| {
335335 secp. sign_schnorr_no_aux_rand ( msg, seckey)
336336 } )
337337 }
338338
339339 #[ cfg( all( feature = "std" , feature = "rand-std" ) ) ]
340- fn test_schnorrsig_sign_helper (
340+ fn sign_helper (
341341 sign : fn ( & Secp256k1 < All > , & Message , & KeyPair , & mut ThreadRng ) -> Signature ,
342342 ) {
343343 let secp = Secp256k1 :: new ( ) ;
@@ -361,7 +361,7 @@ mod tests {
361361 #[ test]
362362 #[ cfg( any( feature = "alloc" , feature = "std" ) ) ]
363363 #[ cfg( not( fuzzing) ) ] // fixed sig vectors can't work with fuzz-sigs
364- fn test_schnorrsig_sign ( ) {
364+ fn schnorr_sign ( ) {
365365 let secp = Secp256k1 :: new ( ) ;
366366
367367 let hex_msg = hex_32 ! ( "E48441762FB75010B2AA31A512B62B4148AA3FB08EB0765D76B252559064A614" ) ;
@@ -384,7 +384,7 @@ mod tests {
384384 #[ test]
385385 #[ cfg( not( fuzzing) ) ] // fixed sig vectors can't work with fuzz-sigs
386386 #[ cfg( any( feature = "alloc" , feature = "std" ) ) ]
387- fn test_schnorrsig_verify ( ) {
387+ fn schnorr_verify ( ) {
388388 let secp = Secp256k1 :: new ( ) ;
389389
390390 let hex_msg = hex_32 ! ( "E48441762FB75010B2AA31A512B62B4148AA3FB08EB0765D76B252559064A614" ) ;
0 commit comments