<s> import numpy as np <EOL> from . . import Model <EOL> from ... util . functions import random_id <EOL> from . test_helpers import get_test_dust <EOL> def test_no_initial ( tmpdir ) : <EOL> m = Model ( ) <EOL> m . set_cartesian_grid ( [ - <NUM_LIT:1.> , <NUM_LIT:1.> ] , [ - <NUM_LIT:1.> , <NUM_LIT:1.> ] , [ - <NUM_LIT:1.> , <NUM_LIT:1.> ] ) <EOL> m . add_density_grid ( np . array ( [ [ [ <NUM_LIT:1.> ] ] ] ) , get_test_dust ( ) ) <EOL> m . set_n_initial_iterations ( <NUM_LIT:0> ) <EOL> m . set_n_photons ( imaging = <NUM_LIT:1> ) <EOL> m . write ( tmpdir . join ( random_id ( ) ) . strpath ) <EOL> mo = m . run ( tmpdir . join ( random_id ( ) ) . strpath ) <EOL> g = mo . get_quantities ( ) <EOL> assert '<STR_LIT>' in g </s>
