From f151a95b2444754fdb6fda55363546e8d73ec6fe Mon Sep 17 00:00:00 2001 From: Kristian Rastrup Date: Wed, 12 Jun 2019 12:35:21 +0200 Subject: Update ECPointTest.cs Updated to test all points and not just the first --- crypto/test/src/math/ec/test/ECPointTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/test/src/math/ec/test/ECPointTest.cs b/crypto/test/src/math/ec/test/ECPointTest.cs index a5ca083e2..dbd739023 100644 --- a/crypto/test/src/math/ec/test/ECPointTest.cs +++ b/crypto/test/src/math/ec/test/ECPointTest.cs @@ -268,12 +268,12 @@ namespace Org.BouncyCastle.Math.EC.Tests { for (int i = 0; i < Fp.p.Length; i++) { - ImplTestAllPoints(Fp.p[0], Fp.infinity); + ImplTestAllPoints(Fp.p[i], Fp.infinity); } for (int i = 0; i < F2m.p.Length; i++) { - ImplTestAllPoints(F2m.p[0], F2m.infinity); + ImplTestAllPoints(F2m.p[i], F2m.infinity); } } -- cgit 1.4.1