// This file was auto-generated based on version 1.1.0 of the canonical data. module PascalsTriangleTest open FsUnit.Xunit open Xunit open PascalsTriangle [] let ``Zero rows`` () = rows 0 |> should equal (Some ([]: int list list)) [] let ``Single row`` () = rows 1 |> should equal (Some [[1]]) [] let ``Two rows`` () = rows 2 |> should equal (Some [[1]; [1; 1]]) [] let ``Three rows`` () = rows 3 |> should equal (Some [[1]; [1; 1]; [1; 2; 1]]) [] let ``Four rows`` () = rows 4 |> should equal (Some [[1]; [1; 1]; [1; 2; 1]; [1; 3; 3; 1]]) [] let ``Negative rows`` () = rows -1 |> should equal None