mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 04:06:18 +08:00
sm9: test all curves
This commit is contained in:
parent
ec7f96d3cc
commit
54a06d72e1
@ -329,9 +329,6 @@ func testAllCurves(t *testing.T, f func(*testing.T, Curve)) {
|
|||||||
{"g1", g1Curve},
|
{"g1", g1Curve},
|
||||||
{"g1/Params", g1Curve.params},
|
{"g1/Params", g1Curve.params},
|
||||||
}
|
}
|
||||||
if testing.Short() {
|
|
||||||
tests = tests[:1]
|
|
||||||
}
|
|
||||||
for _, test := range tests {
|
for _, test := range tests {
|
||||||
curve := test.curve
|
curve := test.curve
|
||||||
t.Run(test.name, func(t *testing.T) {
|
t.Run(test.name, func(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user