From 560a2264f2b855bb03ea249c0d3cf6d176ce7956 Mon Sep 17 00:00:00 2001 From: Boris Blokland Date: Fri, 31 May 2024 11:46:14 +0200 Subject: [PATCH] Update EqualConstraint.md Fixed typo .WithIn(amount) -> .Within(amount) --- .../articles/nunit/writing-tests/constraints/EqualConstraint.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/articles/nunit/writing-tests/constraints/EqualConstraint.md b/docs/articles/nunit/writing-tests/constraints/EqualConstraint.md index 73cb16659..aed87c183 100644 --- a/docs/articles/nunit/writing-tests/constraints/EqualConstraint.md +++ b/docs/articles/nunit/writing-tests/constraints/EqualConstraint.md @@ -278,7 +278,7 @@ This comparer iterates over all public properties of a class. For each property, it gets the value for both instances and compares them for equality. This can be recursive, e.g. if one has a class `Group` holding a collection of `Persons`. -The comparer will use the specified tolerance as specified using `.WithIn(amount)` if possible. +The comparer will use the specified tolerance as specified using `.Within(amount)` if possible. This can be useful when comparing floating point numbers of calculation results. The comparer can deal with recursive data structures,