diff options
author | Kristian Rastrup <kristian@rastrup.net> | 2019-06-12 12:35:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 12:35:21 +0200 |
commit | f151a95b2444754fdb6fda55363546e8d73ec6fe (patch) | |
tree | b719a63eda479fb5a9241ca179a01da1742ee25c /crypto/test/src/math | |
parent | Refactoring (diff) | |
download | BouncyCastle.NET-ed25519-f151a95b2444754fdb6fda55363546e8d73ec6fe.tar.xz |
Update ECPointTest.cs
Updated to test all points and not just the first
Diffstat (limited to 'crypto/test/src/math')
-rw-r--r-- | crypto/test/src/math/ec/test/ECPointTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |