From 42e1018e36b6e5e754a4dbf70a26227570614b93 Mon Sep 17 00:00:00 2001 From: Sun Yimin Date: Sun, 6 Oct 2024 11:25:45 +0800 Subject: [PATCH] sm9/bn256: ppc64x test move --- sm9/bn256/select_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sm9/bn256/select_test.go b/sm9/bn256/select_test.go index 34f744c..6b0b400 100644 --- a/sm9/bn256/select_test.go +++ b/sm9/bn256/select_test.go @@ -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") + } +}