Parcourir la source

mainwindow.cpp edited online with Bitbucket - removí unos comentarios que delataban la respuesta.

Rafael Arce Nazario il y a 9 ans
Parent
révision
62eaa2600a
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1
    4
      mainwindow.cpp

+ 1
- 4
mainwindow.cpp Voir le fichier

34
 
34
 
35
 
35
 
36
     frogger = new frog;
36
     frogger = new frog;
37
-    //ui->x1Label->setText(fr);
38
-   // ui->x1Label->move(frogger->xnenu2, 300);
37
+
39
     globalTimer = new QTimer;
38
     globalTimer = new QTimer;
40
     scene->addWidget(frogger);
39
     scene->addWidget(frogger);
41
 
40
 
75
         c        = values[i+2];
74
         c        = values[i+2];
76
         expected = values[i+3];
75
         expected = values[i+3];
77
 
76
 
78
-        // firstX = (((-b) + sqrt((pow(b,2)) - 4*a*c))/(2*a));
79
         resultFromFunction = frogger->QuadraticPlus(a,b,c);
77
         resultFromFunction = frogger->QuadraticPlus(a,b,c);
80
 
78
 
81
         if( abs(resultFromFunction - expected) > 0.00001) {
79
         if( abs(resultFromFunction - expected) > 0.00001) {
94
         c        = valuesForMinus[i+2];
92
         c        = valuesForMinus[i+2];
95
         expected = valuesForMinus[i+3];
93
         expected = valuesForMinus[i+3];
96
 
94
 
97
-        // firstX = (((-b) + sqrt((pow(b,2)) - 4*a*c))/(2*a));
98
         resultFromFunction = frogger->QuadraticMinus(a,b,c);
95
         resultFromFunction = frogger->QuadraticMinus(a,b,c);
99
 
96
 
100
         if( abs(resultFromFunction - expected) > 0.00001) {
97
         if( abs(resultFromFunction - expected) > 0.00001) {