Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting unused method from test suite #1531

Merged
merged 1 commit into from
Sep 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,6 @@ Make sure each method works on:
[<TestFixture>]
type ArrayModule() =

let rec IsNaN (x : obj) =
match x with
| :? float as x -> Double.IsNaN(x)
| :? float32 as x -> Single.IsNaN(x)
| :? decimal as x -> Decimal.ToDouble(x) |> box |> IsNaN
| _ -> failwith "Invalid input. Please provide a numeric type which could possibly be NaN"

[<Test>]
member this.Empty() =
let emptyArray = Array.empty
Expand Down Expand Up @@ -400,7 +393,7 @@ type ArrayModule() =
if intChoosed.[1] <> 10 then Assert.Fail()

// string array
let stringSrc: string [] = "Lists are a commonly used data structure. They are not mutable, i.e., you can't delete an element of a list instead you create a new list with the element deleted. List values often share storage under the hood, i.e., a list value only allocate more memory when you actually execute construction operations.".Split([|' '|], System.StringSplitOptions.RemoveEmptyEntries)
let stringSrc: string [] = "Lists are a commonly used data structure. They are not mutable, i.e., you can't delete an element of a list – instead you create a new list with the element deleted. List values often share storage under the hood, i.e., a list value only allocate more memory when you actually execute construction operations.".Split([|' '|], System.StringSplitOptions.RemoveEmptyEntries)
let funcString x = match x with
| "list"-> Some x
| "List" -> Some x
Expand Down