Changeset 3052 for inundation/pyvolution/test_mesh.py
- Timestamp:
- Jun 2, 2006, 1:12:20 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/pyvolution/test_mesh.py
r3012 r3052 15 15 from Numeric import allclose, array 16 16 17 from utilities.polygon import i nside_polygon17 from utilities.polygon import is_inside_polygon 18 18 19 19 def distance(x, y): … … 725 725 for p in points: 726 726 #print p, P 727 assert i nside_polygon(p, P)727 assert is_inside_polygon(p, P) 728 728 729 729 … … 762 762 for p in points: 763 763 #print p, P 764 assert i nside_polygon(p, P)764 assert is_inside_polygon(p, P) 765 765 766 766 … … 802 802 803 803 for p in points: 804 assert i nside_polygon(p, P)804 assert is_inside_polygon(p, P) 805 805 806 806 … … 828 828 assert len(P) == 16 829 829 for p in points: 830 assert i nside_polygon(p, P)830 assert is_inside_polygon(p, P) 831 831 832 832 … … 843 843 844 844 for p in points: 845 assert i nside_polygon(p, P)845 assert is_inside_polygon(p, P) 846 846 847 847 #print mesh.statistics() … … 909 909 for p in points: 910 910 #print p, P 911 assert i nside_polygon(p, P)911 assert is_inside_polygon(p, P) 912 912 913 913
Note: See TracChangeset
for help on using the changeset viewer.