Parcourir la source

* Forgot a test on Caca() instantiation

tags/v0.99.beta14
Jean-Yves Lamoureux jylam il y a 20 ans
Parent
révision
208cf461bc
1 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. +8
    -4
      cpp/cpptest.cpp

+ 8
- 4
cpp/cpptest.cpp Voir le fichier

@@ -31,16 +31,20 @@ int main(int argc, char *argv[])
Caca::Event ev;

try {
qq = new Cucul();
qq = new Cucul();
}
catch (int e) {
cerr << "Error while initializing cucul (" << e << ")" << endl;
return -1;
}

kk = new Caca(qq);

try {
kk = new Caca(qq);
}
catch(int e) {
cerr << "Error while attaching cucul to caca (" << e << ")" << endl;
return -1;
}

qq->set_color(CUCUL_COLOR_LIGHTMAGENTA, CUCUL_COLOR_BLACK);



Chargement…
Annuler
Enregistrer