aboutsummaryrefslogtreecommitdiff
path: root/test/addsubo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'test/addsubo.adb')
-rw-r--r--test/addsubo.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/addsubo.adb b/test/addsubo.adb
index 1033ea1..3ddf06c 100644
--- a/test/addsubo.adb
+++ b/test/addsubo.adb
@@ -55,8 +55,9 @@ procedure Addsubo is
Result : State;
begin
Math.Add (Relation, B (Addend1) & B (Addend2) & Sum);
+ TIO.Put (P (Addend1) & " + " & P (Addend2) & " = ");
Result := Relation.Run;
- TIO.Put_Line (P (Addend1) & " + " & P (Addend2) & " = " & PV (Sum.Resolve (Result)));
+ TIO.Put_Line (PV (Sum.Resolve (Result)));
end Add_Test;
procedure Sub_Test
@@ -67,8 +68,9 @@ procedure Addsubo is
Result : State;
begin
Math.Subtract (Relation, B (Minuend) & B (Subtrahend) & Diff);
+ TIO.Put (P (Minuend) & " - " & P (Subtrahend) & " = ");
Result := Relation.Run;
- TIO.Put_Line (P (Minuend) & " - " & P (Subtrahend) & " = " & PV (Diff.Resolve (Result)));
+ TIO.Put_Line (PV (Diff.Resolve (Result)));
end Sub_Test;
begin