#include "sivia.h"

bool Sivia::check_and_draw(Function& f, const Interval& y, IntervalVector& x, const QColor & pencolor, const QColor & brushcolor) {
    // TODO
}


Sivia::Sivia(Frame& frame, double epsilon) : frame(frame) {

    /* =================== test question 1 =================== */
//    Variable a,b;
//    Function g(a,b,a+b);
//    IntervalVector test(2);
//    test[0]=Interval(3,4);
//    test[1]=Interval(-2,-1);
//    check_and_draw(g,Interval::POS_REALS,test,Qt::darkBlue,Qt::cyan);
//    test=-test;
//    check_and_draw(g,Interval::NEG_REALS,test,Qt::magenta,Qt::red);
//    return;
    /* ======================================================= */

    // TODO
}
