Ignore:
Timestamp:
Jan 31, 2015, 11:47:13 PM (10 years ago)
Author:
steve
Message:

Changed test folders to tests and added testers to all the sub packages so that
you can do something like anuga.file.test()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/tsunami_source/tests/test_tsunami_okada.py

    r9457 r9566  
    3535        if T==0:
    3636            # Fortran output file           
    37             filename = path+sep+'test'+sep+'data'+sep+'fullokada_SP.txt'
     37            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_SP.txt'
    3838           
    3939            # Initial condition of earthquake for multiple source
     
    5151        elif T==1:
    5252            # Fortran output file       
    53             filename = path+sep+'test'+sep+'data'+sep+'fullokada_SS.txt'
     53            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_SS.txt'
    5454           
    5555            # Initial condition of earthquake for multiple source
     
    6969
    7070            # Fortran output file
    71             filename = path+sep+'test'+sep+'data'+sep+'fullokada_MS.txt'
     71            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_MS.txt'
    7272           
    7373            # Initial condition of earthquake for multiple source
     
    173173        if T==0:
    174174            # Fortran output file
    175             filename = path+sep+'test'+sep+'data'+sep+'fullokada_SP.txt'
     175            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_SP.txt'
    176176           
    177177            # Initial condition of earthquake for multiple source
     
    189189        elif T==1:
    190190            # Fortran output file
    191             filename = path+sep+'test'+sep+'data'+sep+'fullokada_SS.txt'
     191            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_SS.txt'
    192192           
    193193            # Initial condition of earthquake for multiple source
     
    207207
    208208            # Fortran output file
    209             filename = path+sep+'test'+sep+'data'+sep+'fullokada_MS.txt'
     209            filename = path+sep+'tests'+sep+'data'+sep+'fullokada_MS.txt'
    210210           
    211211            # Initial condition of earthquake for multiple source
Note: See TracChangeset for help on using the changeset viewer.