snegovick / bcad

B-tier OpenSCAD-like 3D CAD software
Other
3 stars 0 forks source link

Implement some way of testing #11

Open snegovick opened 4 years ago

snegovick commented 4 years ago

Analysis

What to test

  1. SCL lexer/parser
  2. SCL math-related stuff
  3. SCL functions
  4. SCL modules
  5. SCL uses/includes
  6. SCP rendering (parts)
  7. SCK rendering (sketches)
  8. SCA rendering (assemblies, far future)

How to test

  1. Run SCL on valid and invalid language structures
  2. Run SCL on valid and invalid math structures and compare std output to known answers
  3. Same as above
  4. Same as above
  5. Same as above
  6. Render parts to STEP or STL and compare those to known good ones
  7. Render sketches to DXF and compare those to known good ones
  8. Maybe same as 6.