math.testsuite: Fix bad syntax in geometry_2d test.
This commit is contained in:
@@ -52,9 +52,9 @@ is
|
|||||||
is
|
is
|
||||||
use float_Math.Geometry.d2;
|
use float_Math.Geometry.d2;
|
||||||
|
|
||||||
the_Tri : Triangle := [vertices => [[0.0, 0.0],
|
the_Tri : Triangle := (vertices => [[0.0, 0.0],
|
||||||
[1.0, 0.0],
|
[1.0, 0.0],
|
||||||
[1.0, 1.0]]];
|
[1.0, 1.0]]);
|
||||||
begin
|
begin
|
||||||
assert (almost_Equal (Area (the_Tri), 0.5),
|
assert (almost_Equal (Area (the_Tri), 0.5),
|
||||||
"T1 => & Image (the_Tri) & area should be 0.5 ... failed ! " & Image (Area (the_Tri), 12));
|
"T1 => & Image (the_Tri) & area should be 0.5 ... failed ! " & Image (Area (the_Tri), 12));
|
||||||
|
|||||||
Reference in New Issue
Block a user