File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed
Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -136,17 +136,16 @@ mod tests {
136136 ) ;
137137 }
138138
139- // generate points to replace "hexVal" with actual hex strings
140- // cargo test print_known_points -- --nocapture
141- #[ test]
142- fn print_known_points ( ) {
143- for k in [ 5u64 , 7 , 1235 , 9999 ] {
144- let point = CtG1 :: generator ( ) . mul ( & CtFr :: from_u64 ( k) ) ;
145- let affine = CtG1Affine :: into_affine ( & point) ;
146- let bytes = affine. to_bytes_uncompressed ( ) ;
147- println ! ( "g * {} = {}" , k, hex:: encode( bytes) ) ;
148- }
149- }
139+ // // generate points to replace hex::decode in test_uncompressed_known_points()
140+ // #[test]
141+ // fn print_known_points() {
142+ // for k in [5u64, 7, 1235, 9999] {
143+ // let point = CtG1::generator().mul(&CtFr::from_u64(k));
144+ // let affine = CtG1Affine::into_affine(&point);
145+ // let bytes = affine.to_bytes_uncompressed();
146+ // println!("g * {} = {}", k, hex::encode(bytes));
147+ // }
148+ // }
150149
151150 #[ test]
152151 fn test_uncompressed_known_points ( ) {
You can’t perform that action at this time.
0 commit comments