Sha256: 1bdcff4f9c61afa20e37512cb6b5fac3daa1220891c747cadd69fc54e27d4cf2
Contents?: true
Size: 1.55 KB
Versions: 240
Compression:
Stored size: 1.55 KB
Contents
module RomanNumeralTest open NUnit.Framework open RomanNumeral [<TestCase(0, ExpectedResult = "")>] [<TestCase(1, ExpectedResult = "I", Ignore = "Remove to run test case")>] [<TestCase(2, ExpectedResult = "II", Ignore = "Remove to run test case")>] [<TestCase(3, ExpectedResult = "III", Ignore = "Remove to run test case")>] [<TestCase(4, ExpectedResult = "IV", Ignore = "Remove to run test case")>] [<TestCase(5, ExpectedResult = "V", Ignore = "Remove to run test case")>] [<TestCase(6, ExpectedResult = "VI", Ignore = "Remove to run test case")>] [<TestCase(9, ExpectedResult = "IX", Ignore = "Remove to run test case")>] [<TestCase(27, ExpectedResult = "XXVII", Ignore = "Remove to run test case")>] [<TestCase(48, ExpectedResult = "XLVIII", Ignore = "Remove to run test case")>] [<TestCase(59, ExpectedResult = "LIX", Ignore = "Remove to run test case")>] [<TestCase(93, ExpectedResult = "XCIII", Ignore = "Remove to run test case")>] [<TestCase(141, ExpectedResult = "CXLI", Ignore = "Remove to run test case")>] [<TestCase(163, ExpectedResult = "CLXIII", Ignore = "Remove to run test case")>] [<TestCase(402, ExpectedResult = "CDII", Ignore = "Remove to run test case")>] [<TestCase(575, ExpectedResult = "DLXXV", Ignore = "Remove to run test case")>] [<TestCase(911, ExpectedResult = "CMXI", Ignore = "Remove to run test case")>] [<TestCase(1024, ExpectedResult = "MXXIV", Ignore = "Remove to run test case")>] [<TestCase(3000, ExpectedResult = "MMM", Ignore = "Remove to run test case")>] let ``Convert roman to arabic numerals`` (arabicNumeral) = toRoman arabicNumeral
Version data entries
240 entries across 240 versions & 1 rubygems