Example #1
0
def test_interactions_copy(interactions):
    testutil.assert_copy(interactions)
Example #2
0
def test_substratesample_copy(sample):
    testutil.assert_copy(sample)
Example #3
0
def test_inclusionsample_copy(sample):
    testutil.assert_copy(sample)
Example #4
0
def test_pencilbeam_copy(beam):
    testutil.assert_copy(beam)
Example #5
0
def test_photondetector_copy(detector):
    testutil.assert_copy(detector)
Example #6
0
def test_project_copy(project):
    project2 = testutil.assert_copy(project, assert_equality=False)
    assert len(project2.simulations) == 3
    assert len(project2.result_classes) == 3
Example #7
0
def test_simulationparameters_copy(simulationparameters):
    testutil.assert_copy(simulationparameters)
Example #8
0
def test_photonintensityanalysis_copy(analysis):
    testutil.assert_copy(analysis)
Example #9
0
def test_verticallayerssample_copy(sample):
    testutil.assert_copy(sample)
Example #10
0
def test_lazysimulationparameters_copy(lazysimulationparameters):
    testutil.assert_copy(lazysimulationparameters)
Example #11
0
def test_spheresample_copy(sample):
    testutil.assert_copy(sample)
Example #12
0
def test_simulation_copy(simulation):
    testutil.assert_copy(simulation)
Example #13
0
def test_lazylowestenergyxrayline_copy(lazylowestenergyxrayline):
    testutil.assert_copy(lazylowestenergyxrayline)
Example #14
0
def test_horizontallayerssample_copy(sample):
    testutil.assert_copy(sample)
Example #15
0
def test_model_copy():
    testutil.assert_copy(ModelMock.A)
Example #16
0
def test_program_copy(program):
    testutil.assert_copy(program)
Example #17
0
def test_material_copy(material):
    testutil.assert_copy(material)
Example #18
0
def test_gaussianbeam_copy(beam):
    testutil.assert_copy(beam)
Example #19
0
def test_lazymaterial_copy(lazy_material):
    testutil.assert_copy(lazy_material)
Example #20
0
def test_cylindricalbeam_copy(beam):
    testutil.assert_copy(beam)
Example #21
0
def test_samplebase_copy(sample):
    testutil.assert_copy(sample)