Re: Debug help - Programming in D exercise 3 on page 352. AA and opCmp

2025-09-07 Thread Dejan Lekic via Digitalmars-d-learn
On Sunday, 7 September 2025 at 12:53:58 UTC, Brother Bill wrote: Two assert statements on lines 43 and 44 fail. Should these assert statements be correct, and if so, what changes to make them correct. Or are they incorrect, and should be removed? Or have I made a mistake in implementing this e

Debug help - Programming in D exercise 3 on page 352. AA and opCmp

2025-09-07 Thread Brother Bill via Digitalmars-d-learn
Two assert statements on lines 43 and 44 fail. Should these assert statements be correct, and if so, what changes to make them correct. Or are they incorrect, and should be removed? Or have I made a mistake in implementing this exercise solution? Console output ``` areas:[TriangularArea (1, 2)