Skip to content

Commit

Permalink
Update README.md with suggested edit.
Browse files Browse the repository at this point in the history
  • Loading branch information
caesuric authored Dec 18, 2023
1 parent 6741ea3 commit 3611a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3611a4a

Please sign in to comment.