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.119 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.118 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.117 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.116 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.115 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.114 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.113 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.111 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.110 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.109 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.108 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.107 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.106 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.105 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.104 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.103 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.102 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.101 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.100 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs
trackler-2.2.1.99 tracks/fsharp/exercises/difference-of-squares/DifferenceOfSquaresTest.fs