sm9: test all curves

This commit is contained in:
Sun Yimin 2022-07-19 16:07:42 +08:00 committed by GitHub
parent ec7f96d3cc
commit 54a06d72e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {