From 3611a4a0e7b2464a07ed7b5e5caa52e2e6ff0c04 Mon Sep 17 00:00:00 2001 From: Chris Muller Date: Mon, 18 Dec 2023 06:43:43 -0500 Subject: [PATCH] Update README.md with suggested edit. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd510f7..31ae1cb 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ Action heal = new Action( ); ``` -Arithmetic postconditions are meant to be used with [Comparative Goals](#comparative-goals). They don't apply to normal Goals. +Note that [normal Goals](#goals) use simple equality checks and cannot tell that a value is closer or further away from the goal value. If you want to use an arithmetic postcondition and have the library detect that you are moving closer to your goal, use [Comparative Goals](#comparative-goals) or [Extreme Goals](#extreme-goals). Both of these types of numerically based goals will calculate distance from a numeric goal properly. #### Parameter Postconditions