Marius Kintel
7af6922829
Updated tests to account for modifiers inside AbstractPolyNodes
2014-01-13 23:07:56 -05:00
Marius Kintel
0ea3c831dd
Merge branch 'issue527' of github.com:openscad/openscad into issue527
2014-01-13 22:24:21 -05:00
Marius Kintel
c2673d4ff0
Updated tests for minkowski2 with holes
2014-01-13 22:24:13 -05:00
Marius Kintel
c680540ea2
Merge branch 'master' into issue527
...
Conflicts:
src/primitives.cc
2014-01-13 21:34:51 -05:00
Marius Kintel
34ae2b8f68
Testcase and fix for a problem transforming an empty bbox with very small numbers in a transformation matrix
2014-01-13 20:57:49 -05:00
Marius Kintel
23b04c3a9f
bugfix: division by zero can cause malformed primitives
2014-01-13 20:49:55 -05:00
Marius Kintel
e0e0319ec6
Added and updated tests for minkowski2 with holes
2014-01-12 19:39:20 -05:00
Marius Kintel
b598b1ad01
hull-of-hull bug: bugxi and test for exposing it
2014-01-06 17:48:09 -05:00
Marius Kintel
31612ef242
adjusted test results
2014-01-06 17:48:09 -05:00
Marius Kintel
b11429b1d2
Updated import_stl-tests: Added subtraction from not found file
2014-01-06 17:48:08 -05:00
Marius Kintel
211e3bc66d
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
9f6635a5f2
Updated test result with new behavior
2014-01-06 17:48:08 -05:00
Marius Kintel
9ccde5fe22
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
e49bccfa83
test data update
2014-01-06 17:48:08 -05:00
Marius Kintel
1c8221004a
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
ebdb2847b3
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
0ce14af64b
Updated test result with new behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
8b7ef88664
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
7ed97132c6
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
3d72b2b68f
Updated test result with new, improved behavior
2014-01-06 17:48:07 -05:00
Marius Kintel
2726a6853f
Implemented resize
2014-01-06 17:48:06 -05:00
Marius Kintel
575d429824
Updated test results with new behavior
2014-01-06 17:48:06 -05:00
Marius Kintel
528be86990
corrected test results
2014-01-06 17:48:05 -05:00
Marius Kintel
db7ba5b204
Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives.
2014-01-06 17:48:03 -05:00
Marius Kintel
0899abeb90
Added testcase for #591
2014-01-05 12:44:53 -05:00
Marius Kintel
bee5233a91
Merge branch 'vector-concat' of git://github.com/t-paul/openscad into t-paul-vector-concat
...
Conflicts:
src/Preferences.ui
2014-01-03 13:17:58 -05:00
Marius Kintel
bda8e6b55b
Added another testcase for #495
2014-01-02 20:57:53 -05:00
Marius Kintel
0044ecde20
Added testcase for #495
2014-01-02 17:07:34 -05:00
Marius Kintel
46a9af8594
Added testcase for #585
2013-12-31 01:20:15 -05:00
Marius Kintel
38b8e6961e
Clarified test cases for #541 and #578
2013-12-30 01:48:46 -05:00
Marius Kintel
69d9dfd29b
Renamed test belonging to #578 , not #541
2013-12-30 01:40:50 -05:00
Marius Kintel
d5bf74c91c
Added testcase for #584
2013-12-30 01:23:14 -05:00
Marius Kintel
182625c5de
Added testcase for #578
2013-12-29 21:17:20 -05:00
Marius Kintel
101d6343c0
Added testcase for #582
2013-12-29 20:16:54 -05:00
Marius Kintel
b47ec73e72
Renamed to issue541
2013-12-29 20:00:40 -05:00
Marius Kintel
9ea82e746c
Added failing test for issue 541
2013-12-29 18:28:06 -05:00
Marius Kintel
b272d1f0de
Added mixed 2D and 3D object for difference tests
2013-12-28 17:11:56 -05:00
Marius Kintel
ce8bf70604
Added 2D difference tests
2013-12-28 16:41:28 -05:00
Marius Kintel
cc3858949e
Updated tests
2013-12-28 14:27:21 -05:00
Marius Kintel
68de0ab680
Updated tests
2013-12-26 18:31:38 -05:00
Marius Kintel
8c02f17bb3
Updated tests
2013-12-26 18:09:19 -05:00
Torsten Paul
6443df394b
Add concat() builtin ( fixes #201 ).
...
This allows to concatenate multiple vectors and single elements into a
single result vector.
2013-12-26 20:02:31 +01:00
Marius Kintel
e64bf96b37
Added mesh test
2013-12-15 20:15:01 -05:00
Marius Kintel
446dc3d36d
Improved non-planar tests
2013-12-15 18:19:05 -05:00
Don Bright
7a35d0c10d
merging tests
2013-12-15 16:08:46 -06:00
Don Bright
3b3ef44f66
Merge branch 'master' of github.com:openscad/openscad into planar
...
Conflicts:
src/CGAL_Nef_polyhedron.cc
tests/CMakeLists.txt
2013-12-15 15:32:06 -06:00
Marius Kintel
c7cea0082e
Added testcase for concave polygons in polyhedrons
2013-12-15 15:02:32 -05:00
Don Bright
6d0efd62d9
improve CGAL nonplanar face error detection. also change dumptests to 'faces'
...
keyword for 'polyhedrnon().
2013-12-15 07:47:01 -06:00
Don Bright
f12237a9c4
add tests for non-planar bug. add docs to .cc code
2013-12-14 21:58:22 -06:00
Marius Kintel
cca80a1559
bugfix: #562 didn't take into account that it's allowed with all X coordinates being negative
2013-12-14 17:44:05 -05:00
Brody Kenrick
d7d5bea736
Add specific tests for unicode len()
2013-12-06 18:33:42 +11:00
Brody Kenrick
0717c67c9f
Unicode support for strings
...
Add suport for using unicode strings in .scad files. Support iterating
across them/accessing them via [] and searching.
--------
Add GLIB (to build for test and normal build -- both with installed and
built locally development files).
Add support for unicode chars to length and search builtin functions and
[] for strings.
Added unicode testing functions.
Ad GLIB to library info page.
2013-12-05 18:28:40 +11:00
Don Bright
75692592e4
Merge branch 'master' into issue410x
2013-11-30 15:30:40 -06:00
Don Bright
fd715c6526
finish adding new test, add png for new test
2013-11-26 20:55:26 -06:00
Marius Kintel
de2db22b5f
Split projection tests into cut vs. project
2013-11-25 00:27:15 -05:00
Marius Kintel
91c2b8909c
Added test for implicit union of render() children
2013-11-23 22:10:05 -05:00
Marius Kintel
7b526bc27a
Added test for polygon with hole
2013-11-23 20:00:19 -05:00
Marius Kintel
2162aaed64
Split up projection tests to avoid long running times
2013-11-20 01:27:46 -05:00
Torsten Paul
1fcad169e6
Update 'for' test cases to match the new range expression handling.
2013-11-11 01:38:34 +01:00
Torsten Paul
e6b2884805
Fix output of range expressions.
2013-11-11 01:38:34 +01:00
Torsten Paul
3c0e9f4f18
Update 'children' test case using range [4 : -1 : 0] which is now valid.
2013-11-11 01:38:24 +01:00
Torsten Paul
bcba02fac3
Add test cases for new range expression handling.
2013-11-11 01:31:53 +01:00
Torsten Paul
74082c8cff
Extend circle tests to cover the new diameter parameter.
2013-10-21 19:47:55 +02:00
Torsten Paul
141f43498c
Add cylinder tests to cover the new diameter parameters.
2013-10-21 19:47:55 +02:00
Torsten Paul
6624fc7089
Extend sphere tests to cover the new diameter parameter.
2013-10-21 19:47:48 +02:00
Marius Kintel
d2a729bdfa
Ignore malformed polygons
2013-10-19 17:15:25 -04:00
Marius Kintel
e77615be30
Merge branch 'children' of git://github.com/vicnet/openscad into vicnet-children
...
Conflicts:
tests/CMakeLists.txt
2013-10-13 13:19:34 -04:00
Marius Kintel
0860dfda3e
Added test case for parent_module()
2013-10-08 23:40:42 -04:00
Vicnet
4401a136b9
add children tests
2013-10-08 15:35:47 +02:00
Don Bright
efc6731774
make echotest work on BSD, by adding .echo as recognized extension
2013-09-21 09:04:01 -05:00
Don Bright
5f36117b8f
restore missing digits. make --info work better. fix parser / path bug
2013-09-20 01:54:53 -05:00
Don Bright
30fd8b250a
little tweaks, cleanups, tab fixing, eliminating comments
2013-09-12 20:03:27 -05:00
Don Bright
d6a57b8968
fix bug in 2d resize code
2013-09-12 19:44:07 -05:00
Don Bright
c87e9f8d6e
remove extraneous files, add rands working test
2013-09-12 00:47:03 -05:00
Don Bright
6af6c311a1
cmdline throwntogether, integrate w chrysn tests, update resize tests
2013-09-12 00:17:17 -05:00
Marius Kintel
a7396cc36f
Fixes two problems related to : lookup was dynamic rather than lexical, assignment was done after all local variables causing it not to be copyable
2013-08-21 01:40:21 -04:00
Marius Kintel
c3e7d4bf03
dumptest now supports the root modifier - updated test results
2013-07-02 09:33:24 +02:00
Marius Kintel
6082dafad8
Re-enable tests which previously cause floating point comparison issues
2013-07-02 00:16:07 -04:00
chrysn
ad1a11a28e
Merge branch 'master' into no-testprograms
...
Conflicts:
tests/CMakeLists.txt
tests/regression/csgtermtest/assign-expected.term
tests/regression/csgtermtest/child-expected.term
tests/regression/csgtermtest/circle-expected.term
tests/regression/csgtermtest/color-expected.term
tests/regression/csgtermtest/cube-expected.term
tests/regression/csgtermtest/cylinder-expected.term
tests/regression/csgtermtest/difference-expected.term
tests/regression/csgtermtest/dxf_linear_extrude-expected.term
tests/regression/csgtermtest/dxf_rotate_extrude-expected.term
tests/regression/csgtermtest/echo-expected.term
tests/regression/csgtermtest/for-expected.term
tests/regression/csgtermtest/glide-expected.term
tests/regression/csgtermtest/group-expected.term
tests/regression/csgtermtest/hull-expected.term
tests/regression/csgtermtest/if-expected.term
tests/regression/csgtermtest/import-expected.term
tests/regression/csgtermtest/import_dxf-expected.term
tests/regression/csgtermtest/import_off-expected.term
tests/regression/csgtermtest/import_stl-expected.term
tests/regression/csgtermtest/intersection-expected.term
tests/regression/csgtermtest/intersection_for-expected.term
tests/regression/csgtermtest/linear_extrude-expected.term
tests/regression/csgtermtest/minkowski-expected.term
tests/regression/csgtermtest/mirror-expected.term
tests/regression/csgtermtest/multmatrix-expected.term
tests/regression/csgtermtest/polygon-expected.term
tests/regression/csgtermtest/polyhedron-expected.term
tests/regression/csgtermtest/projection-expected.term
tests/regression/csgtermtest/render-expected.term
tests/regression/csgtermtest/rotate-expected.term
tests/regression/csgtermtest/rotate_extrude-expected.term
tests/regression/csgtermtest/scale-expected.term
tests/regression/csgtermtest/sphere-expected.term
tests/regression/csgtermtest/square-expected.term
tests/regression/csgtermtest/subdiv-expected.term
tests/regression/csgtermtest/surface-expected.term
tests/regression/csgtermtest/translate-expected.term
tests/regression/csgtermtest/union-expected.term
tests/regression/dumptest/circle-expected.csg
tests/regression/dumptest/color-expected.csg
tests/regression/dumptest/cube-expected.csg
tests/regression/dumptest/cylinder-expected.csg
tests/regression/dumptest/difference-expected.csg
tests/regression/dumptest/dxf_linear_extrude-expected.csg
tests/regression/dumptest/dxf_rotate_extrude-expected.csg
tests/regression/dumptest/glide-expected.csg
tests/regression/dumptest/import-expected.csg
tests/regression/dumptest/import_dxf-expected.csg
tests/regression/dumptest/import_off-expected.csg
tests/regression/dumptest/import_stl-expected.csg
tests/regression/dumptest/intersection-expected.csg
tests/regression/dumptest/intersection_for-expected.csg
tests/regression/dumptest/linear_extrude-expected.csg
tests/regression/dumptest/minkowski-expected.csg
tests/regression/dumptest/mirror-expected.csg
tests/regression/dumptest/multmatrix-expected.csg
tests/regression/dumptest/polygon-expected.csg
tests/regression/dumptest/polyhedron-expected.csg
tests/regression/dumptest/projection-expected.csg
tests/regression/dumptest/render-expected.csg
tests/regression/dumptest/rotate-expected.csg
tests/regression/dumptest/rotate_extrude-expected.csg
tests/regression/dumptest/scale-expected.csg
tests/regression/dumptest/sphere-expected.csg
tests/regression/dumptest/square-expected.csg
tests/regression/dumptest/subdiv-expected.csg
tests/regression/dumptest/surface-expected.csg
tests/regression/dumptest/translate-expected.csg
2013-06-26 18:06:00 +02:00
Marius Kintel
d9b3f7b52b
Test case for #399
2013-06-25 23:17:51 -04:00
chrysn
3460564880
renamed csgtermtest to .term
2013-06-25 13:41:49 +02:00
chrysn
2006824c24
drop moduledumptest, use `openscad -o ${NAME}.ast`
...
src/openscad.cc code was copy/pasted from .csg section; some refactoring
might make things nicer, but i didn't dare change too much for lack of
language knowledge
2013-06-25 13:41:49 +02:00
chrysn
770cb09f5f
trim precision from the echo tests
...
as it was done with dumptest before
2013-06-25 13:41:48 +02:00
chrysn
84857ac157
modify root modifier example now that the test program respects the root modifier
...
as the dumptests are now run from a full openscad, the root modifier is
respected by the test program too; reflectin that in the unit test
2013-06-25 13:41:48 +02:00
chrysn
850058eb69
trim precision in dumptest regressions
...
in order for them to work against openscad's .csg output, the number of
decimal places was reduced.
2013-06-25 13:41:48 +02:00
chrysn
00e29e9099
changed group headers to empty group headers
...
this became necessary because the batch editing in the last commit
didn't respect that an empty group is not group() { } but group();
2013-06-25 13:41:47 +02:00
chrysn
400248d566
renamed dumptest files to .csg and added group headers
2013-06-25 13:41:47 +02:00
Marius Kintel
a3cd019494
Removed a bunch of less useful tests
2013-06-23 01:56:04 -04:00
Marius Kintel
f89b299357
Updated test results to match recent change
2013-06-15 13:28:32 -04:00
Marius Kintel
3f936099fa
Clamp linear_extrude height to 0. Fixes #405
2013-06-15 12:48:09 -04:00
Marius Kintel
026f23ee6d
updated testcases for recently updated tests
2013-06-14 14:25:54 -04:00
Marius Kintel
b45a93aad2
Related to #399 , reverted assignment evaluation order to be the same as in 2013.01 as the new implementation broke existing scripts. Added some experimental commented out code, which can be used as reference in the future
2013-06-13 10:29:39 -04:00
Marius Kintel
80d81d9b76
Added scope and reassignment tests
2013-06-13 01:26:36 -04:00
Marius Kintel
f2f019f57e
clamp to 3. Fixes #395
2013-06-08 02:12:06 -04:00
Marius Kintel
41f352a788
Added moduledumptest. Fixes #384
2013-06-01 16:11:44 -04:00
Marius Kintel
84088dee58
Improved if-else test to include a multiple-children test
2013-06-01 16:11:15 -04:00
Marius Kintel
f110092852
Added resize() and improved if test
2013-06-01 16:09:05 -04:00
Marius Kintel
837b574351
Added missing test result
2013-05-26 17:15:02 -04:00
Marius Kintel
e607447761
Added expected files for example024
2013-05-25 11:48:04 -07:00
Marius Kintel
85d465617a
Updated tests as part of #304
2013-05-25 14:01:45 -04:00