Skip to content

Commit

Permalink
Add comments to test methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSquidCombatant committed Oct 16, 2023
1 parent 5e28f5d commit 4fe9e78
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ namespace TheSquid.Numerics.Extensions.Tests
[TestClass]
public class NextBigIntegerExtensionTests
{
/// <summary>
/// Checks that all generated values are within the specified range.
/// </summary>
[TestMethod]
[DataRow(100, 10000)]
[DataRow(1000, 1000)]
Expand Down
3 changes: 3 additions & 0 deletions TheSquid.Numerics.Extensions.Tests/NthRootExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ namespace TheSquid.Numerics.Extensions.Tests
[TestClass]
public class NthRootExtensionTests
{
/// <summary>
/// Checks that any value obtained when extracting the root coincides with the value previously raised to a power.
/// </summary>
[TestMethod]
[DataRow(10000, 1000, 1000)]
[DataRow(10000, 10000, 100)]
Expand Down
3 changes: 3 additions & 0 deletions TheSquid.Numerics.Extensions.Tests/PowCachedExtensionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ namespace TheSquid.Numerics.Extensions.Tests
[TestClass]
public class PowCachedExtensionTests
{
/// <summary>
/// Checks that any value calculated using caching exponentiation matches the value calculated by the standard method.
/// </summary>
[TestMethod]
[DataRow(10000, 100, 100)]
[DataRow(100000, 100, 100)]
Expand Down

0 comments on commit 4fe9e78

Please sign in to comment.