aboutsummaryrefslogtreecommitdiff
path: root/test/divo.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/divo.adb
parent8a8435b1f51401ebe4881ab8da1eb4f3913270fd (diff)
Test programs now interleave calculation and text output better
Diffstat (limited to 'test/divo.adb')
-rw-r--r--test/divo.adb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/divo.adb b/test/divo.adb
index eabc32c..8c39e79 100644
--- a/test/divo.adb
+++ b/test/divo.adb
@@ -56,10 +56,9 @@ procedure Divo is
Result : State;
begin
Math.Divide (Relation, B (Dividend) & B (Divisor) & Quotient & Remainder);
+ TIO.Put (P (Dividend) & " / " & P (Divisor) & " = ");
Result := Relation.Run;
- TIO.Put_Line (P (Dividend) & " / " & P (Divisor) &
- " = " & PV (Quotient.Resolve (Result)) &
- " r " & PV (Remainder.Resolve (Result)));
+ TIO.Put_Line (PV (Quotient.Resolve (Result)) & " r " & PV (Remainder.Resolve (Result)));
end Test;
begin