sm9/bn256: ppc64x test move

This commit is contained in:
Sun Yimin 2024-10-06 11:25:45 +08:00 committed by GitHub
parent 2455a45871
commit 42e1018e36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,3 +52,12 @@ func BenchmarkGfP12Set(b *testing.B) {
gfp12CopyForTest(res, x)
}
}
func TestCurvePointMovCond(t *testing.T) {
curve1 := &curvePoint{}
res := &curvePoint{}
curvePointMovCond(res, curve1, curveGen, 1)
if !res.Equal(curveGen) {
t.Errorf("not expected")
}
}