Changeset 5615
 Timestamp:
 Aug 6, 2008, 9:35:18 AM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

anuga_core/source/anuga/utilities/test_numerical_tools.py
r5561 r5615 6 6 from math import sqrt, pi 7 7 from anuga.config import epsilon 8 9 8 from numerical_tools import * 10 9 … … 65 64 66 65 def test_ensure_numeric(self): 67 from numerical_tools import ensure_numeric68 66 from Numeric import ArrayType, Float, Int, array 69 67 … … 341 339 #sqrt((rmsd_1*rmsd_1 + rmsd_2*rmsd_2))/2. 342 340 341 def test_norm(self): 342 x = norm(ensure_numeric([3,4])) 343 assert x == 5. 343 344 344 345
Note: See TracChangeset
for help on using the changeset viewer.