Skip to content

Commit

Permalink
Typo's.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Feb 14, 2024
1 parent 4917e38 commit 65c71c7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions specs/Qowaiv.Specs/Financial/Amount_INumber_specs.cs
Expand Up @@ -20,21 +20,21 @@ public void radixis_10()
=> Number.Radix<Amount>().Should().Be(10);

[Test]
public void Additive_identityIs_1()
public void additive_identityIs_1()
=> Number.AdditiveIdentity<Amount>().Should().Be(1.Amount());

[Test]
public void Multiplicative_identityis_1()
public void multiplicative_identityis_1()
=> Number.MultiplicativeIdentity<Amount>().Should().Be(1.Amount());

[Test]
public void Is_canonical_equal_to_decimal([Random(Min, Max, Count)] decimal d)
public void is_canonical_equal_to_decimal([Random(Min, Max, Count)] decimal d)
{
Number.IsCanonical(d.Amount()).Should().Be(Number.IsCanonical(d));
}

[Test]
public void Abs_equal_to_Amount_Abs([Random(Min, Max, Count)] decimal d)
public void abs_equal_to_Amount_Abs([Random(Min, Max, Count)] decimal d)
{
Number.Abs(d.Amount()).Should().Be(d.Amount().Abs());
}
Expand Down Expand Up @@ -84,7 +84,7 @@ public void is_never_imaginary([Random(Min, Max, Count)] decimal d)
=> Number.IsImaginaryNumber(d.Amount()).Should().BeFalse();

[Test]
public void is_always_finate([Random(Min, Max, Count)] decimal d)
public void is_always_finite([Random(Min, Max, Count)] decimal d)
=> Number.IsFinite(d.Amount()).Should().BeTrue();

[Test]
Expand Down Expand Up @@ -128,21 +128,21 @@ public void is_positive_equal_to_decimal([Random(Min, Max, Count)] decimal d)
}

[Test]
public void Is_not_Normal_when_zero()
public void is_not_Normal_when_zero()
=> Number.IsNormal(Amount.Zero).Should().BeFalse();

[Test]
public void Is_never_subnormal([Random(Min, Max, Count)] decimal d)
=> Number.IsSubnormal(d.Amount()).Should().BeFalse();

[Test]
public void Is_normal_when_not_zero([Random(Min, Max, Count)] decimal d)
public void is_normal_when_not_zero([Random(Min, Max, Count)] decimal d)
{
Number.IsNormal(d.Amount()).Should().BeTrue();
}

[Test]
public void maxmaginiute_equal_to_decimal([Random(Min, Max, 3)] decimal x, [Random(Min, Max, 3)] decimal y)
public void max_magnitude_equal_to_decimal([Random(Min, Max, 3)] decimal x, [Random(Min, Max, 3)] decimal y)
{
Number.MaxMagnitude(x.Amount(), y.Amount()).Should().Be(Number.MaxMagnitude(x, y).Amount());
Number.MaxMagnitudeNumber(x.Amount(), y.Amount()).Should().Be(Number.MaxMagnitudeNumber(x, y).Amount());
Expand Down
4 changes: 2 additions & 2 deletions specs/Qowaiv.Specs/Mathematics/Fraction_INumber_specs.cs
Expand Up @@ -74,7 +74,7 @@ public void is_never_imaginary([RandomFraction(Count)] Fraction fraction)
=> Number.IsImaginaryNumber(fraction).Should().BeFalse();

[Test]
public void is_always_finate([RandomFraction(Count)] Fraction fraction)
public void is_always_finite([RandomFraction(Count)] Fraction fraction)
=> Number.IsFinite(fraction).Should().BeTrue();

[Test]
Expand Down Expand Up @@ -120,7 +120,7 @@ public void Is_never_subnormal([RandomFraction(Count)] Fraction fraction)
=> Number.IsSubnormal(fraction).Should().BeFalse();

[Test]
public void maxmaginiute_equal_to_decimal([RandomFraction(3)] Fraction x, [RandomFraction(3)] Fraction y)
public void max_magnitude_equal_to_decimal([RandomFraction(3)] Fraction x, [RandomFraction(3)] Fraction y)
{
var x_ = (decimal)x.Numerator / x.Denominator;
var y_ = (decimal)y.Numerator / y.Denominator;
Expand Down
2 changes: 1 addition & 1 deletion specs/Qowaiv.Specs/Percentage_INumber_specs.cs
Expand Up @@ -86,7 +86,7 @@ public void is_never_imaginary([Random(Min, Max, Count)] double d)
=> Number.IsImaginaryNumber((Percentage)d).Should().BeFalse();

[Test]
public void is_always_finate([Random(Min, Max, Count)] double d)
public void is_always_finite([Random(Min, Max, Count)] double d)
=> Number.IsFinite((Percentage)d).Should().BeTrue();

[Test]
Expand Down

0 comments on commit 65c71c7

Please sign in to comment.