Skip to content

Conversation

@rdelgadoaguilera
Copy link

Corrijo los fallos que había anteriormente.

@fmrico
Copy link
Owner

fmrico commented Jan 7, 2019

Hola @rdelgadoaguilera ,

No tengo muy claro si mejoras o empeoras el estilo. Tus tabs son muy grandes, cuando lo normal son 2 o 4 espacios, como están ahora. Además, utilizas el using namespace, cosa que no recomiendo. ¿Has usado el cpplint para ver los fallos de estilo antes?

#include "gtest/gtest.h"
#include "Position.h"

using namespace atcsim;
Copy link
Owner

Choose a reason for hiding this comment

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

No uses esto


TEST(PositionTest, empty_constructor)
{
Position pos;
Copy link
Owner

Choose a reason for hiding this comment

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

Tus tabs de cuanto son?

@rdelgadoaguilera
Copy link
Author

Se debe a que he usado los tabuladores por defecto del programa de wdicion. ¿Que debo hacer?

@fmrico
Copy link
Owner

fmrico commented Jan 10, 2019

poner dos espacios en lugar de un tab, o configurar bien tu editor.

Tienes conflictos...

@fmrico
Copy link
Owner

fmrico commented Jan 10, 2019

Quieres añadir ATCDisplay* en este commit. Estos ficheros son autogenerados y no deberían subirse nunca. Limita tu PR al fichero de test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants