def test_metadata(self):
     self.assertEqual(get_ground_set(), CartesianProduct(GenesisSetM(), GenesisSetM()))
     self.assertEqual(get_absolute_ground_set(), CartesianProduct(GenesisSetA(), GenesisSetA()))
     self.assertEqual(get_name(), 'Couplets(M): (M x M)')
 def test_metadata(self):
     self.assertEqual(get_ground_set(),
                      CartesianProduct(GenesisSetM(), GenesisSetM()))
     self.assertEqual(get_absolute_ground_set(),
                      CartesianProduct(GenesisSetA(), GenesisSetA()))
     self.assertEqual(get_name(), 'Couplets(M): (M x M)')
Exemplo n.º 3
0
def get_absolute_ground_set() -> _structure.Structure:
    """Return the :term:`absolute ground set` of this :term:`algebra`."""
    return _structure.PowerSet(_couplets.get_absolute_ground_set())
Exemplo n.º 4
0
def get_absolute_ground_set() -> _structure.Structure:
    """Return the :term:`absolute ground set` of this :term:`algebra`."""
    return _structure.PowerSet(_couplets.get_absolute_ground_set())