Skip to content

Commit

Permalink
sm9/bn256: ppc64x test move
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Oct 6, 2024
1 parent 2455a45 commit 42e1018
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sm9/bn256/select_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}

0 comments on commit 42e1018

Please sign in to comment.