Commit a5ed7d07 authored by alexander.dornheim's avatar alexander.dornheim
Browse files

Added TestAll to TestAll examples. For now only tests ART.

parent 5998f724
import sys
sys.path.append('../proxtoolbox/Problems/CT')
sys.path.append('..')
from ART import ART
import proxtoolbox.Problems.CT
print("Starting Test routine\n")
ART_examples = ["ART_alternating_proj_in", "ART_averaged_proj_in","BLOCK_AP_parallel_ART_in", "BLOCK_GRAAL_parallel_ART_in", "BLOCK_RAAR_parallel_ART_in", "BLOCK_RAAR_sequential_ART_in"]
print("Testing ART")
for example in ART_examples:
print("\n")
print("Test " + example)
demo = getattr(proxtoolbox.Problems.CT,example)
config = demo.new_config
config['MAXIT'] = 10
CT = ART(demo.new_config)
CT.solve()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment