// Auto generated by Testing Dashboard
// File        : scripts/Modify/Explode/Tests/ExplodeTest03.js
// Timestamp   : 2016-08-22 10:06:27
// Description : explode with fixed tolerance (1)

include('scripts/Pro/Developer/TestingDashboard/TdbTest.js');

function ExplodeTest03() {
    TdbTest.call(this, 'scripts/Modify/Explode/Tests/ExplodeTest03.js');
}

ExplodeTest03.prototype = new TdbTest();

ExplodeTest03.prototype.test00 = function() {
    qDebug('running ExplodeTest03.test00()...');
    this.setUp();
    this.importFile('scripts/Modify/Explode/Tests/data/splines.dxf');
    // set tolerance:
    RSettings.setValue("Explode/SplineTolerance", 1.0);
    this.selectAll();
    TdbTest.clickOnWidget('MainWindow::CadToolBar::MainToolsPanel::ModifyToolsPanelButton');
    TdbTest.clickOnWidget('MainWindow::CadToolBar::ModifyToolsPanel::ExplodeButton');
    this.verifyDrawing('ExplodeTest03_000.dxf');
    RSettings.setValue("Explode/SplineTolerance", 0.1);
    this.tearDown();
    qDebug('finished ExplodeTest03.test00()');
};

