Metria-Project / Metria-Test

0 stars 0 forks source link

suggestion of a test for the method _Zoom in Line #7

Open cyromd opened 6 years ago

cyromd commented 6 years ago

under this input: This: alfa=(1,0) beta=(3,0) i=6 the following output: line((6,0),(18,0)) is supposed to be seen

under this input: This: alfa=(2,0) beta=(2,0) i=5 the following output: line((10,0),(10,0))
is supposed to be seen

cyromd commented 6 years ago

Acho que tem que revisar essa parte do teste por que acho que está transladando em relação ao eixo y as retas verticais para o lado, não tenho certeza que era isso que nós queríamos com esse método, pois essa translação pode acabar interferindo negativamente no resultado corte

cyromd commented 6 years ago

No teste 1 a line l está errada deveria ser: Line l = new Line(new Point(1, 0), new Point(3, 0))

Supitto commented 6 years ago

===

Code _51 Place _2_hyperbolic_line.cs Process Create a line from (1,0) to (3,0) and call it l Check Zoom l by 6 == new Line(new Point(6,0), new Point(18,0))

===

Code _52 Place _2_hyperbolic_line.cs Process Create a vertical line with X = 2 and call it l Check Zoom l by 5 == new Line(new Point(10,0), new Point(10,1))

cyromd commented 6 years ago

OK