Exemplo n.º 1
0
    def test_a_territory_with_units_is_not_empty(self):
        """If a territory contains units, it is not empty.
        Note that this is different from that territory having an owner.
        The question that remains is whether a unit in a neutral land
        can have no owner -- not even Barbarian."""
        t = Territory()
        troop = Troop(territory=t)

        self.assertFalse(t.is_empty())
Exemplo n.º 2
0
    def test_a_territory_with_a_construct_is_not_empty(self):
        t = Territory()
        Construct(territory=t)

        self.assertFalse(t.is_empty())