module DifferenceOfSquaresTest open Xunit open FsUnit.Xunit open DifferenceOfSquares [] let ``Square of sums to 5`` () = squareOfSums 5 |> should equal 225 [] let ``Sum of squares to 5`` () = sumOfSquares 5 |> should equal 55 [] let ``Difference of sums to 5`` () = difference 5 |> should equal 170 [] let ``Square of sums to 10`` () = squareOfSums 10 |> should equal 3025 [] let ``Sum of squares to 10`` () = sumOfSquares 10 |> should equal 385 [] let ``Difference of sums to 10`` () = difference 10 |> should equal 2640 [] let ``Square of sums to 100`` () = squareOfSums 100 |> should equal 25502500 [] let ``Sum of squares to 100`` () = sumOfSquares 100 |> should equal 338350 [] let ``Difference of sums to 100`` () = difference 100 |> should equal 25164150