Constructor and Description |
---|
ItemTest() |
Modifier and Type | Method and Description |
---|---|
void |
test_1ArgEffectBeefConstructor_andGetters()
this tests the 1 Arg constructor for Beef for
the effect should be 15 and used is false and it is an item
and has icon !
|
void |
test_1ArgEffectHPPotConstructor_andGetters()
this tests the 1 Arg constructor for HealthPotion an int effect
the effect should be 15 and used is false and it is an item
and has icon H
|
void |
test_1ArgEffectItemConstructor_andGetters()
this tests the 1 Arg constructor for an int effect
the effect should be 15 and used is false and it is an item
and has icon I
|
void |
test_1ArgEffectPoisonConstructor_andGetters()
this tests the 1 Arg constructor for Poison for
the effect should be 15 and used is false and it is an item
and has icon !
|
void |
test_1ArgUseBeefConstructor_andGetters()
this tests the 1 Arg constructor for beef for an int
the effect should be 10 and used is true and it is an item
and has icon !
|
void |
test_1ArgUseHPPotConstructor_andGetters()
this tests the 1 Arg constructor for Health Potion for an int
the effect should be 10 and used is true and it is an item
and has icon H
|
void |
test_1ArgUseItemConstructor_andGetters()
this tests the 1 Arg constructor for an int
the effect should be 10 and used is true and it is an item
and has icon I
|
void |
test_1ArgUsePoisonConstructor_andGetters()
this tests the 1 Arg constructor for Poison for an int
the effect should be 10 and used is true and it is an item
and has icon !
|
void |
test_BeefOnPlayer()
this tests how a Beef affects a player
|
void |
test_defaultBeefConstructor_andGetters()
this tests the default constructor.
|
void |
test_defaultBeefConstructorSettersandGetters()
this tests the default constructor with setters and getters
the effect should be 30 and used is true and it is a gameitem
|
void |
test_defaultHPPotConstructor_andGetters()
this tests the default constructor.
|
void |
test_defaultHPPotConstructorSettersandGetters()
this tests the default constructor with setters and getters
the effect should be 30 and used is true and it is a gameitem
|
void |
test_defaultItemConstructor_andGetters()
this tests the default constructor.
|
void |
test_defaultItemConstructorSettersandGetters()
this tests the default constructor.
|
void |
test_defaultPoisonConstructor_andGetters()
this tests the default constructor.
|
void |
test_defaultPoisonConstructorSettersandGetters()
this tests the default constructor with setters and getters
the effect should be 30 and used is true and it is a gameitem
|
void |
test_HealthPotionOnPlayer()
this tests how a HealthPotion affects a player
|
void |
test_itemOnPlayer()
this tests how an Item affects a player
|
void |
test_PoisonOnPlayer()
this tests how a Poison affects a player
|
public void test_defaultItemConstructor_andGetters()
public void test_1ArgEffectItemConstructor_andGetters()
public void test_1ArgUseItemConstructor_andGetters()
public void test_defaultItemConstructorSettersandGetters()
public void test_defaultHPPotConstructor_andGetters()
public void test_1ArgEffectHPPotConstructor_andGetters()
public void test_1ArgUseHPPotConstructor_andGetters()
public void test_defaultHPPotConstructorSettersandGetters()
public void test_defaultPoisonConstructor_andGetters()
public void test_1ArgEffectPoisonConstructor_andGetters()
public void test_1ArgUsePoisonConstructor_andGetters()
public void test_defaultPoisonConstructorSettersandGetters()
public void test_defaultBeefConstructor_andGetters()
public void test_1ArgEffectBeefConstructor_andGetters()
public void test_1ArgUseBeefConstructor_andGetters()
public void test_defaultBeefConstructorSettersandGetters()
public void test_itemOnPlayer()
public void test_HealthPotionOnPlayer()
public void test_PoisonOnPlayer()
public void test_BeefOnPlayer()