Sha256: 52ea42688ca8da4a86b99b102c8399a93f8c3fee85c7fa8ff80d506d399d1b97

Contents?: true

Size: 1.14 KB

Versions: 90

Compression:

Stored size: 1.14 KB

Contents

// This file was auto-generated based on version 1.2.0 of the canonical data.

module DifferenceOfSquaresTest

open FsUnit.Xunit
open Xunit

open DifferenceOfSquares

[<Fact>]
let ``Square of sum 1`` () =
    squareOfSum 1 |> should equal 1

[<Fact(Skip = "Remove to run test")>]
let ``Square of sum 5`` () =
    squareOfSum 5 |> should equal 225

[<Fact(Skip = "Remove to run test")>]
let ``Square of sum 100`` () =
    squareOfSum 100 |> should equal 25502500

[<Fact(Skip = "Remove to run test")>]
let ``Sum of squares 1`` () =
    sumOfSquares 1 |> should equal 1

[<Fact(Skip = "Remove to run test")>]
let ``Sum of squares 5`` () =
    sumOfSquares 5 |> should equal 55

[<Fact(Skip = "Remove to run test")>]
let ``Sum of squares 100`` () =
    sumOfSquares 100 |> should equal 338350

[<Fact(Skip = "Remove to run test")>]
let ``Difference of squares 1`` () =
    differenceOfSquares 1 |> should equal 0

[<Fact(Skip = "Remove to run test")>]
let ``Difference of squares 5`` () =
    differenceOfSquares 5 |> should equal 170

[<Fact(Skip = "Remove to run test")>]
let ``Difference of squares 100`` () =
    differenceOfSquares 100 |> should equal 25164150

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.158 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.157 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.156 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.155 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.154 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.153 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.152 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.151 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.150 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.149 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.148 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.147 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.146 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.145 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.144 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.143 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.142 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.141 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.140 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs