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.180 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.179 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.178 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.177 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.176 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.175 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.174 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.173 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.172 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.171 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.170 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.169 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.167 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.166 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.165 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.164 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.163 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.162 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.161 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.160 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs