Simple .net core 2.2 XUnit testing project created in C# language for business logic which is checking whether provided value is Prime number or not.
Below are some test cases
-
If provide value is 1 then return False
-
If provide value is 6 then return False
-
If provide value is 11 then Return True
-
If provide value is greater than 100 then ThrowException