Package io.github.skenvy
Class CollatzTest
- java.lang.Object
-
- io.github.skenvy.CollatzTest
-
public class CollatzTest extends Object
Test all the functions of the Collatz file, which includes multiple inner classes.
-
-
Constructor Summary
Constructors Constructor Description CollatzTest()
-
Method Summary
-
-
-
Method Detail
-
testFunction_ZeroTrap
public void testFunction_ZeroTrap()
-
testFunction_OneCycle
public void testFunction_OneCycle()
-
testFunction_NegativeOneCycle
public void testFunction_NegativeOneCycle()
-
testFunction_WiderModuloSweep
public void testFunction_WiderModuloSweep()
-
testFunction_NegativeParamterisation
public void testFunction_NegativeParamterisation()
-
testFunction_AssertSaneParameterisation
public void testFunction_AssertSaneParameterisation()
-
testReverseFunction_ZeroTrap
public void testReverseFunction_ZeroTrap()
-
testReverseFunction_OneCycle
public void testReverseFunction_OneCycle()
-
testReverseFunction__NegativeOneCycle
public void testReverseFunction__NegativeOneCycle()
-
testReverseFunction_WiderModuloSweep
public void testReverseFunction_WiderModuloSweep()
-
testReverseFunction_NegativeParamterisation
public void testReverseFunction_NegativeParamterisation()
-
testReverseFunction_ZeroReversesOnB
public void testReverseFunction_ZeroReversesOnB()
-
testReverseFunction_AssertSaneParameterisation
public void testReverseFunction_AssertSaneParameterisation()
-
testHailstoneSequence_ZeroTrap
public void testHailstoneSequence_ZeroTrap()
-
testHailstoneSequence_OnesCycleOnlyYieldsATotalStop
public void testHailstoneSequence_OnesCycleOnlyYieldsATotalStop()
-
testHailstoneSequence_KnownCycles
public void testHailstoneSequence_KnownCycles()
-
testHailstoneSequence_Minus56
public void testHailstoneSequence_Minus56()
-
testHailstoneSequence_Minus200
public void testHailstoneSequence_Minus200()
-
testHailstoneSequence_RegularStoppingTime
public void testHailstoneSequence_RegularStoppingTime()
-
testHailstoneSequence_NegativeMaxTotalStoppingTime
public void testHailstoneSequence_NegativeMaxTotalStoppingTime()
-
testHailstoneSequence_ZeroStopMidHail
public void testHailstoneSequence_ZeroStopMidHail()
-
testHailstoneSequence_UnitaryPCausesAlmostImmediateCycles
public void testHailstoneSequence_UnitaryPCausesAlmostImmediateCycles()
-
testHailstoneSequence_AssertSaneParameterisation
public void testHailstoneSequence_AssertSaneParameterisation()
-
testStoppingTime_ZeroTrap
public void testStoppingTime_ZeroTrap()
-
testStoppingTime_OnesCycleOnlyYieldsATotalStop
public void testStoppingTime_OnesCycleOnlyYieldsATotalStop()
-
testStoppingTime_KnownCyclesYieldInfinity
public void testStoppingTime_KnownCyclesYieldInfinity()
-
testStoppingTime_KnownCycleLeadIns
public void testStoppingTime_KnownCycleLeadIns()
-
testStoppingTime_RegularStoppingTime
public void testStoppingTime_RegularStoppingTime()
-
testStoppingTime_NegativeMaxTotalStoppingTime
public void testStoppingTime_NegativeMaxTotalStoppingTime()
-
testStoppingTime_ZeroStopMidHail
public void testStoppingTime_ZeroStopMidHail()
-
testStoppingTime_UnitaryPCausesAlmostImmediateCycles
public void testStoppingTime_UnitaryPCausesAlmostImmediateCycles()
-
testStoppingTime_MultiplesOf576460752303423488Plus27
public void testStoppingTime_MultiplesOf576460752303423488Plus27()
-
testStoppingTime_AssertSaneParameterisation
public void testStoppingTime_AssertSaneParameterisation()
-
testTreeGraph_ZeroTrap
public void testTreeGraph_ZeroTrap()
-
testTreeGraph_RootOfOneYieldsTheOneCycle
public void testTreeGraph_RootOfOneYieldsTheOneCycle()
-
testTreeGraph_RootOfTwoAndFourYieldTheOneCycle
public void testTreeGraph_RootOfTwoAndFourYieldTheOneCycle()
-
testTreeGraph_RootOfMinusOneYieldsTheMinusOneCycle
public void testTreeGraph_RootOfMinusOneYieldsTheMinusOneCycle()
-
testTreeGraph_WiderModuloSweep
public void testTreeGraph_WiderModuloSweep()
-
testTreeGraph_NegativeParamterisation
public void testTreeGraph_NegativeParamterisation()
-
testTreeGraph_ZeroReversesOnB
public void testTreeGraph_ZeroReversesOnB()
-
testTreeGraph_AssertSaneParameterisation
public void testTreeGraph_AssertSaneParameterisation()
-
-