Skip to content

Commit 16175e0

Browse files
authored
Merge pull request MicrosoftDocs#5517 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 34ad8e3 + 1a28fac commit 16175e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/test/unit-testing-visual-csharp-code-in-a-store-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ You have set up the test and the code projects, and verified that you can run te
161161
{
162162
double expected = v;
163163
double actual = rooter.SquareRoot(v*v);
164-
double tolerance = ToleranceHelper(expected);
164+
double tolerance = expected/1000;
165165
Assert.AreEqual(expected, actual, tolerance);
166166
}
167167
}
@@ -318,4 +318,4 @@ Note that the `RangeTest` method hard codes the denominator of the `tolerance` v
318318
2. Choose **Run All** to test the refactored method and make sure that you haven't introduced an error.
319319

320320
> [!NOTE]
321-
> If you add a helper method to a test class that you don't want to appear in **Test Explorer**, do not add the <xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute> attribute to the method.
321+
> If you add a helper method to a test class that you don't want to appear in **Test Explorer**, do not add the <xref:Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute> attribute to the method.

0 commit comments

Comments
 (0)