ModelHandle/test/tests/generator_test.js
2021-05-23 18:05:53 +02:00

10 lines
281 B
JavaScript

var assert = require ('assert');
describe ('Generator', function () {
it ('Cuboid', function () {
const cuboid = OV.GenerateCuboid (null, 1.0, 1.0, 1.0);
assert (OV.IsSolid (cuboid));
assert (OV.IsEqual (OV.CalculateVolume (cuboid), 1.0));
});
});