Commit Graph

1044 Commits (c6209f15b70f743bace2bf21e2801b9e5238ada8)

Author SHA1 Message Date
Marius Kintel 192e514aca fixed minor merge mistake 2010-10-31 12:52:26 +01:00
kintel d011ae46c6 coding style
git-svn-id: http://svn.clifford.at/openscad/trunk@575 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 02:51:27 +00:00
kintel b36acfd268 coding style
git-svn-id: http://svn.clifford.at/openscad/trunk@575 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 02:51:27 +00:00
kintel fb7ed8cf01 Added a rands() function that returns a vector of random numbers.
the function takes either 3 arguments or 4
  rands(min,max,num)
or
  rands(min,max,num,seed)

git-svn-id: http://svn.clifford.at/openscad/trunk@574 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 02:51:11 +00:00
kintel d479fca855 Added a rands() function that returns a vector of random numbers.
the function takes either 3 arguments or 4
  rands(min,max,num)
or
  rands(min,max,num,seed)

git-svn-id: http://svn.clifford.at/openscad/trunk@574 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 02:51:11 +00:00
kintel 1611f6230e Reverted accidental commits
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:58:50 +00:00
kintel e0c5673e1b Reverted accidental commits
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:58:50 +00:00
kintel a41eda3afe FIXME's added to AbstractNode
git-svn-id: http://svn.clifford.at/openscad/trunk@572 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:28 +00:00
kintel b3f4c98c80 FIXME's added to AbstractNode
git-svn-id: http://svn.clifford.at/openscad/trunk@572 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:28 +00:00
kintel 6ed27af139 Committed current version of visitor refactoring
git-svn-id: http://svn.clifford.at/openscad/trunk@571 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:06 +00:00
kintel 53337ff654 Committed current version of visitor refactoring
git-svn-id: http://svn.clifford.at/openscad/trunk@571 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:06 +00:00
Marius Kintel aa21cda5c7 How to run tests 2010-10-31 02:42:39 +02:00
Marius Kintel 819ae6d181 bugfix: Matrix initialization state was wrong, made CSGTermRenderer fail 2010-10-31 02:42:39 +02:00
Marius Kintel 455a8e22c1 Added cgaltest 2010-10-31 02:42:39 +02:00
Marius Kintel a248852f6c Make it possible to run the tests without and -expected file 2010-10-31 02:42:39 +02:00
Marius Kintel 049b16608a Added CSGTermRenderer 2010-10-31 02:42:39 +02:00
Marius Kintel fdcbb4cf97 Improved CSGTermRenderer to a testable point 2010-10-31 02:42:39 +02:00
Marius Kintel 3f66c23731 Reenabled CGAL rendering 2010-10-31 02:42:39 +02:00
Marius Kintel c902b803e9 bugfix: copy&paste error 2010-10-31 02:42:39 +02:00
Marius Kintel 728f4ac790 Moved more tests from test-code to tests 2010-10-31 02:42:39 +02:00
Marius Kintel 067bc0ab31 Added more tests 2010-10-31 02:42:39 +02:00
Marius Kintel 6536184759 tag the output dir to avoid collision with executable name 2010-10-31 02:42:39 +02:00
Marius Kintel aa71ac8e0d moved dumptest to tests dir to enable building from cmake 2010-10-31 02:42:39 +02:00
Marius Kintel 15fdbe2936 dxftess-*.cc are included from dxftess.cc and shouldn't be built 2010-10-31 02:42:39 +02:00
Marius Kintel 41b15c04c0 intersection_for now dumps correctly 2010-10-31 02:42:38 +02:00
Marius Kintel 8a0ddf4e5b CSGTermRenderer refactor: minor update 2010-10-31 02:42:38 +02:00
Marius Kintel d0390c41a2 Added AbstractNode::name(), changed CSGTextRenderer to use this instead of the rtti name 2010-10-31 02:42:38 +02:00
Marius Kintel 93f3d4a1b6 CSGTermRenderer refactoring: Added matrix to traversal state 2010-10-31 02:42:38 +02:00
Marius Kintel c868525c67 cosmetics 2010-10-31 02:42:38 +02:00
Marius Kintel d172c353a2 Test should fail if cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel f0b49ee9e9 Started refactoring of render_csg_term() into a visitor 2010-10-31 02:42:38 +02:00
Marius Kintel f2323c78b3 Better error output when cmd is not found 2010-10-31 02:42:38 +02:00
Marius Kintel 22b74585d8 Moved regression tests to tests directory 2010-10-31 02:42:38 +02:00
Marius Kintel 2b8bd3b4f3 Added support for specifying parameters to programs being tested 2010-10-31 02:42:38 +02:00
Marius Kintel 8cda80e8f3 assert fix (forgot to set root node on the tree) + mix. coding style fixes + a note to remember that this is the visitor refactor version 2010-10-31 02:42:38 +02:00
Marius Kintel 75d18642cc Compile fixes after working in test-code/ 2010-10-31 02:42:38 +02:00
Marius Kintel 5de0ad5f49 Mac OS X 32-bit build has been fixed 2010-10-31 02:42:37 +02:00
Marius Kintel 7f08361422 Added DXF export test 2010-10-31 02:42:37 +02:00
Marius Kintel 57153a38d2 Ignore tests without -expected files, refactored into function 2010-10-31 02:42:37 +02:00
Marius Kintel 69b1b6711d Support specifying output suffix 2010-10-31 02:42:37 +02:00
Marius Kintel 723db774f3 Export DXF to stream 2010-10-31 02:42:37 +02:00
Marius Kintel cdc87f3567 Regression test howto 2010-10-31 02:42:37 +02:00
Marius Kintel 14da5b7e67 output to stdout 2010-10-31 02:42:37 +02:00
Marius Kintel e46f9dab2f export to stream for stdout/stderr output support 2010-10-31 02:42:37 +02:00
Marius Kintel b4d03c4d8f doc 2010-10-31 02:42:37 +02:00
Marius Kintel d887b4f633 removed unused headers 2010-10-31 02:42:37 +02:00
Marius Kintel 8fafb720ca Don't assert dimension - groups without geometry will have dimension 0 2010-10-31 02:42:37 +02:00
Marius Kintel a38cd8d0f1 bugfix: render_polyset() returned NULL when DAT file wasn't found -> crash 2010-10-31 02:42:37 +02:00
Marius Kintel dee4f85572 Added cgal tests to CTest 2010-10-31 02:42:37 +02:00
Marius Kintel 7d9baec9ce Added note about absolute filenames 2010-10-31 02:42:36 +02:00