blob: 35d585bdad80a895709a6fce4f1103ab1b1952b0 [file] [log] [blame]
package org.bouncycastle.pqc.math.ntru.polynomial.test;
import junit.extensions.TestSetup;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
public class AllTests
extends TestCase
{
public static void main (String[] args)
{
junit.textui.TestRunner.run(suite());
}
public static Test suite()
{
TestSuite suite = new TestSuite("NTRU Polynomial Tests");
suite.addTestSuite(BigDecimalPolynomialTest.class);
suite.addTestSuite(BigIntPolynomialTest.class);
suite.addTestSuite(IntegerPolynomialTest.class);
suite.addTestSuite(LongPolynomial2Test.class);
suite.addTestSuite(LongPolynomial5Test.class);
suite.addTestSuite(ProductFormPolynomialTest.class);
suite.addTestSuite(SparseTernaryPolynomialTest.class);
return new BCTestSetup(suite);
}
static class BCTestSetup
extends TestSetup
{
public BCTestSetup(Test test)
{
super(test);
}
protected void setUp()
{
}
protected void tearDown()
{
}
}
}