public void ArabRiverCheck() { NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Arab Bedouins"); IComponent component = nation.getComponent("water_source"); Assert.Null(component); //Checks for null }
public void InuitRiverCheck() { NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Inuit Hunters"); IComponent component = nation.getComponent("water_source"); Assert.Null(component); //Checks for null }
public void InuitCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation actual = nf.getNation("Inuit Hunters"); Assert.NotNull(actual); //Checks for null if (actual is Inuit) { check = true; } Assert.True(check); }
public void EgyptCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation actual = nf.getNation("Egyptian Kings"); Assert.NotNull(actual); //Checks for null if (actual is Egypt) { check = true; } Assert.True(check); }
public void BdCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation actual = nf.getNation("Bangladeshi Farmers"); Assert.NotNull(actual); //Checks for null if (actual is Bangladesh) { check = true; } Assert.True(check); }
public void ArabCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation actual = nf.getNation("Arab Bedouins"); Assert.NotNull(actual); //Checks for null if (actual is Arab) { check = true; } Assert.True(check); }
public void BdRiverCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Bangladeshi Farmers"); IComponent component = nation.getComponent("water_source"); Assert.NotNull(component); //Checks for null if (component is BdRiver) { check = true; } Assert.True(check); }
public void ArabTreeCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Arab Bedouins"); IComponent component = nation.getComponent("tree"); Assert.NotNull(component); //Checks for null if (component is ArabTree) { check = true; } Assert.True(check); }
public void InuitHouseCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Inuit Hunters"); IComponent component = nation.getComponent("house"); Assert.NotNull(component); //Checks for null if (component is InuitHouse) { check = true; } Assert.True(check); }
public void EgyptRiverCheck() { bool check = false; NationFactory nf = new NationFactory(); AbstractNation nation = nf.getNation("Egyptian Kings"); IComponent component = nation.getComponent("water_source"); Assert.NotNull(component); //Checks for null if (component is EgyptRiver) { check = true; } Assert.True(check); }