

Task

Using a well-known testing-specific library/module/suite for your language, write some tests for your language's entry in Palindrome.

If your language does not have a testing specific library well known to the language's community then state this or omit the language.



let palindrome (s : string) =
    let a = s.ToUpper().ToCharArray()
    Array.rev a = a
 
 
open NUnit.Framework
 
[<TestFixture>]
type TestCases() =
    [<Test>]
    member x.Test01() =
        Assert.IsTrue(palindrome "radar")
 
    [<Test>]
    member x.Test02() =
        Assert.IsFalse(palindrome "hello")