From 2209ab74ab651d958e250d1f991fe9f076f76503 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Wed, 7 Jan 2026 11:50:31 +1300 Subject: Test programs now interleave calculation and text output better --- test/divo.adb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/divo.adb') 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 -- cgit