aboutsummaryrefslogtreecommitdiff
path: root/test/expo.adb
diff options
context:
space:
mode:
Diffstat (limited to 'test/expo.adb')
-rw-r--r--test/expo.adb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/expo.adb b/test/expo.adb
index ea2e950..dbfa903 100644
--- a/test/expo.adb
+++ b/test/expo.adb
@@ -55,8 +55,9 @@ procedure Expo is
Result : State;
begin
Math.Exponential (Relation, B (Base) & B (Exponent) & Power);
+ TIO.Put (P (Base) & "^" & P (Exponent) & " = ");
Result := Relation.Run;
- TIO.Put_Line (P (Base) & "^" & P (Exponent) & " = " & PV (Power.Resolve (Result)));
+ TIO.Put_Line (PV (Power.Resolve (Result)));
end Exp_Test;
procedure Repeated_Mult_Test
@@ -67,8 +68,9 @@ procedure Expo is
Result : State;
begin
Math.Repeated_Multiply (Relation, B (Base) & B (Exponent) & Power);
+ TIO.Put (P (Base) & "^" & P (Exponent) & " = ");
Result := Relation.Run;
- TIO.Put_Line (P (Base) & "^" & P (Exponent) & " = " & PV (Power.Resolve (Result)));
+ TIO.Put_Line (PV (Power.Resolve (Result)));
end Repeated_Mult_Test;
begin