Class MsaTester
java.lang.Object
MsaTester
public class MsaTester
- extends Object
Diese Klasse kann ueberpruefen, ob ein Loesungsalgorithmus
des Maximum--Sub-Array--Problems korrekt arbeitet.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
solver
MaximumSubArraySolver solver
MsaTester
MsaTester(MaximumSubArraySolver solver)
MsaTester
MsaTester(Class solverClass)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
MsaTester
MsaTester(String solverClassName)
throws IllegalAccessException,
InstantiationException,
ClassNotFoundException
- Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
test
public static void test(MaximumSubArraySolver solver)
test
public static void test(Class solverClass)
throws IllegalAccessException,
InstantiationException
- Throws:
IllegalAccessException
InstantiationException
test
public static void test(String solverClassName)
throws IllegalAccessException,
InstantiationException,
ClassNotFoundException
- Throws:
IllegalAccessException
InstantiationException
ClassNotFoundException
main
public static void main(String[] args)
throws Throwable
- Throws:
Throwable
test_Loesungsvorschlaege
static void test_Loesungsvorschlaege()
throws Throwable
- Throws:
Throwable
assertEquals
void assertEquals(Object obj1,
Object obj2)
testSolver
void testSolver()
test
void test()
testEinElementMaximum
void testEinElementMaximum()
testMaximumLinkerRand
void testMaximumLinkerRand()
testMaximumRechterRand
void testMaximumRechterRand()
testMaximumMitte
void testMaximumMitte()
testGanzerArrayMaximum
void testGanzerArrayMaximum()
testNegativerArray
void testNegativerArray()
testZweiElementeArray
void testZweiElementeArray()
testEinElementArray
void testEinElementArray()
testLeererArray
void testLeererArray()
Gehe zurueck zur Tutoriums-Homepage