aboutsummaryrefslogtreecommitdiff
path: root/test/logo.adb
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2026-01-07 11:50:31 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2026-01-07 11:50:31 +1300
commit2209ab74ab651d958e250d1f991fe9f076f76503 (patch)
treedb13590fdea0c26bc9346ecad186ee065288b4b0 /test/logo.adb
parent8a8435b1f51401ebe4881ab8da1eb4f3913270fd (diff)
Test programs now interleave calculation and text output better
Diffstat (limited to 'test/logo.adb')
-rw-r--r--test/logo.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/logo.adb b/test/logo.adb
index 3c2412f..575bdad 100644
--- a/test/logo.adb
+++ b/test/logo.adb
@@ -56,9 +56,9 @@ procedure Logo is
Result : State;
begin
Math.Logarithm (Relation, B (Power) & B (Base) & Exponent & Remainder);
+ TIO.Put ("log_" & P (Base) & " (" & P (Power) & ") = ");
Result := Relation.Run;
- TIO.Put_Line ("log_" & P (Base) & " (" & P (Power) & ") = " &
- PV (Exponent.Resolve (Result)) & " r " & PV (Remainder.Resolve (Result)));
+ TIO.Put_Line (PV (Exponent.Resolve (Result)) & " r " & PV (Remainder.Resolve (Result)));
end Test;
begin