Ignore:
Timestamp:
20/11/08 15:36:44 (12 years ago)
Author:
cbyrom
Message:

Strip out code not relevant to MILK - mainly WCS and WMS stuff - also including the CSML server code + trackback code
Also tidy up structure of 'public' dir - setting up new 'style' dir and
centralising icons in icons dir + remove all unused icons, javascript and stylesheets.
Also strip out testcase code and populate new test directory structure.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • MILK/trunk/milk_server/milk_server/lib/geoUtilities.py

    r3093 r4469  
    6565    def __str__(self): 
    6666        return '%s,%s'%(self.nboxes,self.boxes) 
    67  
    68      
    69 import unittest 
    70  
    71 class TestCase(unittest.TestCase): 
    72      
    73     def testMoveBox(self): 
    74         w,e=1,359 
    75         w,e=moveBox(w,e) 
    76         self.assertEqual((w,e),(-179.,179.)) 
    77         w,e=190,200 
    78         w,e=moveBox(w,e) 
    79         self.assertEqual((w,e),(-170.,-160.)) 
    80         w,e=10,20 
    81         w,e=moveBox(w,e) 
    82         self.assertEqual((w,e),(10.,20.)) 
    83      
    84 if __name__=="__main__": 
    85  
    86     unittest.main() 
    8767         
Note: See TracChangeset for help on using the changeset viewer.