Changeset 728 for trunk/test/unittests/generictests.py
- Timestamp:
- 03/11/10 17:41:37 (2 years ago)
- Files:
-
- 1 modified
-
trunk/test/unittests/generictests.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unittests/generictests.py
r725 r728 886 886 for tgtP in [self.target6, self.target33]: 887 887 for conn in connectors: 888 print conn.w_expr888 #print conn.w_expr 889 889 prj = sim.Projection(srcP, tgtP, conn) 890 890 first_connection = prj.connections[0] … … 892 892 for c in first_connection, last_connection: 893 893 d = space.distance(c.source, c.target) 894 self.assertAlmostEqual(c.weight, eval(conn.w _expr), 10)894 self.assertAlmostEqual(c.weight, eval(conn.weights), 10) 895 895 896 896 class ProjectionSetTest(unittest.TestCase):
