Idiomatic F# unit test using xunit and unquote
I guess I mostly needed to figure out how to replace LINQ with F# equivalents and then refactor a bit. Now I have this:

let ToArrays schedules = 
    schedules 
    |&gt; Seq.map (fun schedule -&gt; schedule |&gt; Seq.toArray) 
    |&gt; Seq.toArray

[&lt;Fact&gt;]
let ``Two courses, one with one time and one with two times that all differ, returns two unique schedules with two entries each``() =
    // arrange
    let course1 = getCourse1()
    let course2 = getCourse2()
    let time1 = getTime1()
    let time2 = getTime2()
    let time2a = getTime2a()
    time1 |&gt; course1.AddTime
    time2 |&gt; course2.AddTime
    time2a |&gt; course2.AddTime

    let schedulesExpected =
        [| 
            [| ScheduleEntry(course1, time1); ScheduleEntry(course2, time2) |] 
            [| ScheduleEntry(course1, time1); ScheduleEntry(course2, time2a) |] 
        |]

    // act
    let schedulesActual = [| course1; course2 |] |&gt; ScheduleGenerator.Schedulyze

    // assert
    test &lt;@ schedulesActual |&gt; ToArrays = schedulesExpected @&gt;