square / jna-gmp

A Java JNA wrapper around the GNU Multiple Precision Arithmetic Library.
Apache License 2.0
62 stars 24 forks source link

Break apart GmpTest #11

Open dragonsinth opened 8 years ago

dragonsinth commented 8 years ago

A huge amount of line space in GmpTest is devoted to modPow, but we now have several other accessible methods. We should break this test class up by the method being tested, or at least into categories.

We probably want a base test class that implements:

  @BeforeClass public static void checkLoaded()
  @AfterClass public static void forceGc()