Skip to content

Actividad 01 (Palíndromos)#20

Open
guillermoar26 wants to merge 3 commits intojgsogo:actividadesfrom
guillermoar26:patch-3
Open

Actividad 01 (Palíndromos)#20
guillermoar26 wants to merge 3 commits intojgsogo:actividadesfrom
guillermoar26:patch-3

Conversation

@guillermoar26
Copy link
Copy Markdown

No description provided.

@guillermoar26
Copy link
Copy Markdown
Author

@jgsogo Hola Javier, no tengo ni idea dónde está el fallo. En Qt me reconoce "amad a la dama" como palíndromo y aquí no 🤔

Copy link
Copy Markdown
Owner

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tiene pinta de que te pasa lo mismo que a David y que le he comentado aquí #18 (review). Tienes una función remove_blanks que no estás utilizando... quizá en tus pruebas con el Qt Creator no estás probando con ninguna frase como amad a la dama, que es un palíndromo si le eliminas los espacios.

Como puedes ver, ése es justo el ejemplo que falla en los tests de tu pull-request: https://github.com/jgsogo/eda/pull/20/checks?check_run_id=1941356744

/home/runner/work/eda/eda/actividad01/tests/test_palindrome.cpp:25: FAILED:
  REQUIRE( is_palindrome("amad a la dama") == true )
with expansion:
  false == true

@guillermoar26 guillermoar26 changed the title Update palindrome.cpp Actividad 01 (Palíndromos) Feb 28, 2021
Copy link
Copy Markdown
Owner

@jgsogo jgsogo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@jgsogo jgsogo force-pushed the actividades branch 4 times, most recently from 1ab93ef to e638cb2 Compare March 21, 2021 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants