TechnionYP5779 / team1

Git repo of team 1 of the yearly project technion CS
6 stars 3 forks source link

use fluent style of assertions #130

Closed yossigil closed 5 years ago

yossigil commented 5 years ago
azzert.assertEquals(the.sqr(0), 0);
azzert.assertEquals(the.sqr(3), 9);
azzert.assertEquals(the.sqr(2), 4);
azzert.assertEquals(the.sqr(1), 1);

i.e., is(0)
ShaiZeevi commented 5 years ago

@saifun @ofiralexi @yoavz1997 @Matanpugach @YarinSh @Itamaror I think it's too much work for a single person. How about we divide it so that we each fix the tests we wrote?

ShaiZeevi commented 5 years ago

Everyone, I believe the required style is something like this: image

@yossigil is this ok?

ShaiZeevi commented 5 years ago

image The spartanizer would like to rewrite these commands to use assert. What should I do?

ofiralexi commented 5 years ago

@ShaiZeevi yes in case of true and false, you should rewrite it as: assert SomeStatementThatIsTrue referencing the relevant issue for you #90

yoavz1997 commented 5 years ago

Done #79