Changeset 1927 for inundation/pyvolution/test_util.py
- Timestamp:
- Oct 14, 2005, 4:14:19 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_util.py
r1919 r1927 1012 1012 1013 1013 1014 def test_multiple_replace(self): 1015 """Hard test that checks a true word-by-word simultaneous replace 1016 """ 1017 1018 D = {'x': 'xi', 'y': 'eta', 'xi':'lam'} 1019 exp = '3*x+y + xi' 1020 1021 new = multiple_replace(exp, D) 1022 1023 assert new == '3*xi+eta + lam' 1024 1014 1025 1015 1026
Note: See TracChangeset
for help on using the changeset viewer.