Created
January 8, 2019 04:45
-
-
Save alefcarlos/1fe869a92b5b670daa96f3055fdaa24c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Fact] | |
| public void MultpleOf_ShouldThrowExpcetionWhenYIsNegative() | |
| { | |
| Should.Throw<ArgumentException>(() => | |
| { | |
| Helpers.IsMultipleOf(-3, 9); | |
| }); | |
| } | |
| [Fact] | |
| public void MultpleOf_ShouldThrowExpcetionWhenXIsNegative() | |
| { | |
| Should.Throw<ArgumentException>(() => | |
| { | |
| Helpers.IsMultipleOf(3, -9); | |
| }); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment