diff options
-rw-r--r-- | crypto/test/src/pqc/crypto/test/TestSampler.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/crypto/test/src/pqc/crypto/test/TestSampler.cs b/crypto/test/src/pqc/crypto/test/TestSampler.cs index be61d920f..f989e8c77 100644 --- a/crypto/test/src/pqc/crypto/test/TestSampler.cs +++ b/crypto/test/src/pqc/crypto/test/TestSampler.cs @@ -1,8 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace Org.BouncyCastle.Pqc.Crypto.Tests { @@ -19,8 +15,11 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests internal bool SkipTest(string count) { + if (isFull) + return false; + int c = int.Parse(count); - return !isFull && c != 0 && ((c + offSet) % 9 != 0); + return c != 0 && ((c + offSet) % 9 != 0); } } } |