Ignore:
Timestamp:
Jan 23, 2009, 2:44:41 AM (16 years ago)
Author:
ole
Message:

Improved test_caching_of_set_quantity - it still needs to be moved to validation suite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/caching/test_caching.py

    r6231 r6232  
    433433        res1 = cache(f1, x, test=True, verbose=False)               
    434434        assert num.allclose(res1, ref1)               
     435       
     436        # Test that f2(x) is still clear
     437        cache(f2, x, clear=True, verbose=False)
     438        flag = cache(f2, x, test=True, verbose=False)       
     439        assert flag is None               
    435440       
    436441        # Run f2(x) and test result
Note: See TracChangeset for help on using the changeset viewer.