Ejemplo n.º 1
0
def test_cylinders_part_surfaces_count():
    for i in range(1, 10):
        test_utils.assert_part_surfaces_count(DEMO_ID, 'Cylinder%d' % i, 3)
Ejemplo n.º 2
0
def test_unite_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Unite', 7)
Ejemplo n.º 3
0
def test_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Channel', 4)
Ejemplo n.º 4
0
def test_unite_part_surfaces_count():
    test_utils.assert_part_surfaces_count(_grid_ss(), 'Unite', 11)
Ejemplo n.º 5
0
def test_cylinders_part_surfaces_count():
    for i in range(1, 10):
        test_utils.assert_part_surfaces_count(DEMO_ID, 'Cylinder%d' % i, 3)
Ejemplo n.º 6
0
def test_domain_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Domain', 3)
Ejemplo n.º 7
0
def test_channel_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Channel', 6)
Ejemplo n.º 8
0
def test_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'radial_impeller', 5)
Ejemplo n.º 9
0
def test_wing_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'WING', 4)
Ejemplo n.º 10
0
def test_kart_wrap_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Kart Wrap', 91)
Ejemplo n.º 11
0
def test_wing_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'WING', 4)
Ejemplo n.º 12
0
def test_cylinder_part_surfaces_count():
    test_utils.assert_part_surfaces_count(_grid(1), 'Cylinder', 3)
Ejemplo n.º 13
0
def test_sphere_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Sphere', 1)
Ejemplo n.º 14
0
def test_cylinders_part_surfaces_count():
    for cyl in ['Main', 'In', 'Out']:
        test_utils.assert_part_surfaces_count(DEMO_ID, 'Cyl%s' % cyl, 3)
Ejemplo n.º 15
0
def test_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Cylinder', 3)
Ejemplo n.º 16
0
def test_unite_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Unite', 7)
Ejemplo n.º 17
0
def test_cylinder_part_surfaces_count():
    test_utils.assert_part_surfaces_count(_grid(1), 'Cylinder', 3)
Ejemplo n.º 18
0
def test_block_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Block', 6)
Ejemplo n.º 19
0
def test_tunnel_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Block', 2)
Ejemplo n.º 20
0
def test_subtract_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Subtract', 15)
Ejemplo n.º 21
0
def test_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Cylinder', 3)
Ejemplo n.º 22
0
def test_sphere_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Sphere', 1)
Ejemplo n.º 23
0
def test_unite_part_surfaces_count():
    test_utils.assert_part_surfaces_count(_grid_ss(), 'Unite', 11)
Ejemplo n.º 24
0
def test_tunnel_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Block', 2)
Ejemplo n.º 25
0
def test_tunnel_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Tunnel', 4)
Ejemplo n.º 26
0
def test_block_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Block', 6)
Ejemplo n.º 27
0
def test_kart_wrap_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Kart Wrap', 91)
Ejemplo n.º 28
0
def test_subtract_part_surfaces_count():
    test_utils.assert_part_surfaces_count(DEMO_ID, 'Subtract', 15)
Ejemplo n.º 29
0
def test_cylinders_part_surfaces_count():
    for cyl in ['Main', 'In', 'Out']:
        test_utils.assert_part_surfaces_count(DEMO_ID, 'Cyl%s' % cyl, 3)