Class PolynomialTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.bouncycastle.pqc.math.ntru.test.PolynomialTest
- All Implemented Interfaces:
junit.framework.Test
public class PolynomialTest
extends junit.framework.TestCase
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class junit.framework.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
-
Constructor Details
-
PolynomialTest
public PolynomialTest()
-
-
Method Details
-
testMod3PhiN
public void testMod3PhiN() -
testModQPhiN
public void testModQPhiN() -
testSqToBytes
public void testSqToBytes() -
testSqFromBytes
public void testSqFromBytes() -
testRqSumZeroToBytes
public void testRqSumZeroToBytes() -
testRqSumZeroFromBytes
public void testRqSumZeroFromBytes() -
testS3ToBytes
public void testS3ToBytes() -
testS3FromBytes
public void testS3FromBytes() -
testSqMul
public void testSqMul() -
testRqMul
public void testRqMul() -
testS3Mul
public void testS3Mul() -
testRqToS3
public void testRqToS3() -
testZ3ToZq
public void testZ3ToZq() -
testTrinaryZqToZ3
public void testTrinaryZqToZ3()
-