]> SALOME platform Git repositories - modules/shaper.git/blobdiff - test.squish/suite_STANDALONE/tst_BASE/test.py
Salome HOME
Sort SQUISH cases to suites
[modules/shaper.git] / test.squish / suite_STANDALONE / tst_BASE / test.py
diff --git a/test.squish/suite_STANDALONE/tst_BASE/test.py b/test.squish/suite_STANDALONE/tst_BASE/test.py
new file mode 100644 (file)
index 0000000..b3b3b24
--- /dev/null
@@ -0,0 +1,17 @@
+def main():
+    source(findFile("scripts", "common.py"))
+    
+    startApplication("linux_run.sh")
+    set_defaults()
+        
+    #[step] Create parameter a=100
+    parameter_create("a", "100")
+    #[step] Create new parts
+    part_create()
+    #[step] Create sketch with circle center=(0,0) radius="a"
+    sketch_create(help_points("XY_plane"), lambda: circle_create(0, 0, "a"))
+    #[step] Crete extrusion with the circle and to_size="a"
+    points = [(313, 336)] # circle
+    extrusion_feature(points, "a")
+    #[step] Close application
+    close_application()
\ No newline at end of file