Exemplo n.º 1
0
    def test_init(self):
        config = BrainDynamicsConfiguration()
        set = DynamicSet(config)
        self.assertIsNotNone(set)
        self.assertIsNotNone(set.config)
        self.assertEqual(config, set.config)

        with self.assertRaises(Exception):
            set.is_member(None, None, None)
Exemplo n.º 2
0
    def test_init(self):
        config = BrainDynamicsConfiguration()
        set = DynamicSet(config)
        self.assertIsNotNone(set)
        self.assertIsNotNone(set.config)
        self.assertEqual(config, set.config)

        with self.assertRaises(Exception):
            set.is_member(None, None)
Exemplo n.º 3
0
 def __init__(self, config):
     DynamicSet.__init__(self, config)
Exemplo n.º 4
0
 def __init__(self, config):
     DynamicSet.__init__(self, config)
Exemplo n.º 5
0
 def __init__(self, config):
     DynamicSet.__init__(self, config)
     self._synset = Synsets()