dymokomi/luce-geocore
Source of release 0.7.3
0.7.3 / tests / code / main.lucb
## luce-geocore's Code node checks (`luc test` runs them); `--bench` times whole cooks
## over 1M points instead (tests/code/bench.py).
import array_attributes
import bench
import checks
import help
import script_help
import stages
import voxels
import splat_code
pub func main(arguments: str[]) -> i32!:
if arguments.length > 1 and arguments[1] == "--bench":
try bench.run_all()
return 0
try checks.points()
try checks.parameters()
try checks.other_modes()
try checks.faults()
try checks.determinism()
try checks.checking()
try checks.grids()
try stages.reads()
try stages.nearpoints_smoothing()
try stages.distance_coloring()
try stages.ray_projection()
try stages.spiral()
try stages.polygons()
try stages.removals()
try stages.collapsed_faces()
try stages.neighbor_average()
try stages.varying_gathers()
try stages.ramps()
try stages.topology_and_measure()
try stages.point_clouds()
try stages.volumes()
try stages.messages()
try stages.texts()
try stages.arrays()
try stages.array_median()
try stages.text_groups()
try array_attributes.run_all()
try help.run_all()
try script_help.run_all()
try voxels.run_all()
try splat_code.run_all()
return 0