Skip to content

Commit

Permalink
Add modulo test for double
Browse files Browse the repository at this point in the history
  • Loading branch information
AnErrupTion committed Dec 18, 2022
1 parent 9368c24 commit 2fd971e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,11 @@ public static void Execute()
Assert.IsTrue(EqualityHelper.DoublesAreEqual(value, 2.3), "double TryParse returns correct result when it works");

#endregion

double doubleA = 3;
double doubleB = 3;

Assert.IsTrue(doubleA % doubleB == 0, "Double: 3 % 3 should be equal to 0");
}
}
}

0 comments on commit 2fd971e

Please sign in to comment.