Package org.powertac.common
Class TariffEvaluatorTest
- java.lang.Object
-
- org.powertac.common.TariffEvaluatorTest
-
public class TariffEvaluatorTest extends Object
Test cases for TariffEvaluator.- Author:
- John Collins
-
-
Constructor Summary
Constructors Constructor Description TariffEvaluatorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
BogusWithdrawCost()
void
minDurationTest()
void
noTariffTest()
Test for no new tariffs case.void
oldSignupBonus()
void
posWithdrawCost()
void
posWithdrawPmt()
void
revokeSuperseding()
void
revokeToDefault()
void
revokeToKilledSuperseding()
void
setUp()
void
signupBonus()
void
signupCharge()
void
signupCharge2()
void
signupCharge3()
void
singleNewTariffConsumption()
void
singleNewTariffSmallChunk()
void
testScaleFactor()
void
testSignupCostNegative()
void
testSignupCostPositive()
void
testSignupCostZero()
void
testWithdrawCostNegative()
void
testWithdrawCostOpen()
void
testWithdrawCostPositive()
void
testWithdrawCostPositiveShort()
void
testWithdrawCostZero()
void
twoTariffInertia()
void
twoTariffSplit()
void
withdrawCost()
-
-
-
Method Detail
-
noTariffTest
@Test public void noTariffTest()
Test for no new tariffs case.
-
testScaleFactor
@Test public void testScaleFactor()
-
testSignupCostPositive
@Test public void testSignupCostPositive()
-
testSignupCostNegative
@Test public void testSignupCostNegative()
-
testSignupCostZero
@Test public void testSignupCostZero()
-
testWithdrawCostPositive
@Test public void testWithdrawCostPositive()
-
testWithdrawCostPositiveShort
@Test public void testWithdrawCostPositiveShort()
-
testWithdrawCostNegative
@Test public void testWithdrawCostNegative()
-
testWithdrawCostZero
@Test public void testWithdrawCostZero()
-
testWithdrawCostOpen
@Test public void testWithdrawCostOpen()
-
singleNewTariffConsumption
@Test public void singleNewTariffConsumption()
-
singleNewTariffSmallChunk
@Test public void singleNewTariffSmallChunk()
-
twoTariffSplit
@Test public void twoTariffSplit()
-
withdrawCost
@Test public void withdrawCost()
-
posWithdrawCost
@Test public void posWithdrawCost()
-
posWithdrawPmt
@Test public void posWithdrawPmt()
-
BogusWithdrawCost
@Test public void BogusWithdrawCost()
-
signupBonus
@Test public void signupBonus()
-
oldSignupBonus
@Test public void oldSignupBonus()
-
signupCharge
@Test public void signupCharge()
-
signupCharge2
@Test public void signupCharge2()
-
signupCharge3
@Test public void signupCharge3()
-
twoTariffInertia
@Test public void twoTariffInertia()
-
minDurationTest
@Test public void minDurationTest()
-
revokeToDefault
@Test public void revokeToDefault()
-
revokeSuperseding
@Test public void revokeSuperseding()
-
revokeToKilledSuperseding
@Test public void revokeToKilledSuperseding()
-
-