Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 384 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 384 Bytes

prime-numbers

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