mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 18:02:50 +01:00
33 lines
464 B
JavaScript
33 lines
464 B
JavaScript
export default {
|
|
SketcherObjects: [
|
|
TestCase('segment'),
|
|
TestCase('arc'),
|
|
],
|
|
|
|
SketcherSolver: [
|
|
TestCase('constraints'),
|
|
TestCase('parametric'),
|
|
|
|
],
|
|
|
|
SketcherTools: [
|
|
|
|
],
|
|
|
|
Sketcher: [
|
|
|
|
],
|
|
|
|
ModellerOperations: [
|
|
|
|
],
|
|
|
|
};
|
|
|
|
function TestCase(name) {
|
|
let tests = require('./cases/' + name).default;
|
|
tests = Object.keys(tests).filter(key => key.startsWith('test')).map(key => tests[key]);
|
|
return {
|
|
name, tests
|
|
}
|
|
}
|