This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/papercraft/openjscad/node_modules/@jscad/openscad-openjscad-translator/tests/submodule_tests.js

22 lines
600 B
JavaScript

const check = require('./helpers').check
const filedir = 'submodule_tests/'
exports['test transformed submodule'] = function () {
check(filedir, 'transformedSubmoduleEx1')
}
exports['test transformed submodule with extra line'] = function () {
check(filedir, 'transformedSubmoduleEx2')
}
exports['test transformed submodule with color mod'] = function () {
check(filedir, 'transformedSubmoduleEx3')
}
exports['test nested submodules'] = function () {
check(filedir, 'nestedSubmoduleEx1')
check(filedir, 'nestedSubmoduleEx2')
}
if (module === require.main) require('test').run(exports)