Class TestEntropy


  • public class TestEntropy
    extends Object
    Test of entropy.
    Author:
    Kai Kretschmann
    • Constructor Detail

      • TestEntropy

        public TestEntropy()
    • Method Detail

      • setUp

        @BeforeEach
        public void setUp()
                   throws Exception
        Test Before method.
        Throws:
        Exception - in case of error
      • tearDown

        @AfterEach
        public void tearDown()
                      throws Exception
        Test After method.
        Throws:
        Exception - in case of error
      • testEntropyZero

        @Test
        public void testEntropyZero()
        Test method plain string.
      • testEntropyNonzero

        @Test
        public void testEntropyNonzero()
        Test method mixed string.
      • testEntropyBytes

        @Test
        public void testEntropyBytes()
        Test method mixed byte array.
      • testEntropyStringEqualsBytes

        @Test
        public void testEntropyStringEqualsBytes()
        Test method mixed byte array.
      • testEntropyMainEncode

        @Test
        public void testEntropyMainEncode()
        Test method encode call for Main function.