Sha256: b13a76855af1e05509df0e425dbfbde0f727fc2f5f73e2bce7a4572db438849d
Contents?: true
Size: 825 Bytes
Versions: 240
Compression:
Stored size: 825 Bytes
Contents
module PerfectNumbersTest open NUnit.Framework open PerfectNumbers [<TestCase(3)>] [<TestCase(7, Ignore = "Remove to run test case")>] [<TestCase(13, Ignore = "Remove to run test case")>] let ``Can classify deficient numbers`` (number) = Assert.That(classify number, Is.EqualTo(Deficient)) [<TestCase(6, Ignore = "Remove to run test case")>] [<TestCase(28, Ignore = "Remove to run test case")>] [<TestCase(496, Ignore = "Remove to run test case")>] let ``Can classify perfect numbers`` (number) = Assert.That(classify number, Is.EqualTo(Perfect)) [<TestCase(12, Ignore = "Remove to run test case")>] [<TestCase(18, Ignore = "Remove to run test case")>] [<TestCase(20, Ignore = "Remove to run test case")>] let ``Can classify abundant numbers`` (number) = Assert.That(classify number, Is.EqualTo(Abundant))
Version data entries
240 entries across 240 versions & 1 rubygems