Changeset 9462


Ignore:
Timestamp:
Jan 21, 2015, 4:54:15 PM (10 years ago)
Author:
steve
Message:

cleanup geometry folder

Location:
trunk/anuga_core/source/anuga/geometry/test
Files:
1 added
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/geometry/test/test_geometry.py

    r9459 r9462  
    66import unittest
    77
    8 from aabb import AABB
    9 from quad import Cell
     8from anuga.geometry.aabb import AABB
     9from anuga.geometry.quad import Cell
    1010
    1111#-------------------------------------------------------------
  • trunk/anuga_core/source/anuga/geometry/test/test_polygon.py

    r9459 r9462  
    44
    55import unittest
     6import os
    67import numpy as num
    78from anuga.utilities.numerical_tools import ensure_numeric
     
    7273
    7374        # Form absolute filename and read
    74         filename = path + sep + 'data' + sep + 'mainland_only.csv'
     75        filename = os.path.join( path, 'test', 'data', 'mainland_only.csv')
    7576        p1 = read_polygon(filename)
    7677
     
    8788
    8889        # Form absolute filename and read
    89         filename = path + sep + 'data' + sep +  'complex_polygon.csv'
     90        filename = os.path.join( path, 'test', 'data', 'complex_polygon.csv')
    9091        # Should cause an Exception
    9192        try:
     
    105106
    106107        # Form absolute filename and read
    107         filename = path + sep + 'data' + sep +  'non_complex_polygon.csv'
     108        filename = os.path.join( path, 'test', 'data',  'non_complex_polygon.csv')
    108109        # Should cause an Exception
    109110        try:
     
    120121
    121122        # Form absolute filename and read
    122         filename = path + sep + 'data' + sep +  'complex_polygon.csv'
     123        filename = os.path.join( path, 'test', 'data',  'complex_polygon.csv')
    123124        # Should not cause an Exception
    124125        p1 = read_polygon(filename, closed=False)
Note: See TracChangeset for help on using the changeset viewer.