Commit 707a30ce authored by Yann Boucher's avatar Yann Boucher
Browse files

Fixed a minor issue with the Alphabet test

parent ebcc5236
Pipeline #78768 passed with stages
in 17 seconds
......@@ -19,7 +19,8 @@ void CellulutTests::test_alphabet(){
state s3(c3,"gamma");
state test=a.getState(0);
// L'alphabet possède toujours un état 0, chaque état qui est ajouté commence au numéro 1
state test=a.getState(1);
stateColor sc =test.getColor();
char cb=sc.getBlue();
char cr=sc.getRed();
......@@ -28,8 +29,8 @@ void CellulutTests::test_alphabet(){
state test2=a.getState(1);
stateColor sc2 =test.getColor();
state test2=a.getState(2);
stateColor sc2 =test2.getColor();
char cb2=sc2.getBlue();
char cr2=sc2.getRed();
char cg2=sc2.getGreen();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment