Sha256: 04a8626fd6290d42124729de272cd47c154bc3554572a42e4818dd4c0056079d

Contents?: true

Size: 669 Bytes

Versions: 16

Compression:

Stored size: 669 Bytes

Contents

module SumOfMultiplesTest

open NUnit.Framework
open SumOfMultiples

[<Test>]
let ``Sum to 1`` () =
    Assert.That(sumOfMultiples [3; 5] 0, Is.EqualTo(0))

[<Test>]
[<Ignore("Remove to run test")>]
let ``Sum to 3`` () =
    Assert.That(sumOfMultiples [3; 5] 3, Is.EqualTo(0))

[<Test>]
[<Ignore("Remove to run test")>]
let ``Sum to 10`` () =
    Assert.That(sumOfMultiples [3; 5] 10, Is.EqualTo(23))

[<Test>]
[<Ignore("Remove to run test")>]
let ``Sum to 20`` () =
    Assert.That(sumOfMultiples [7; 13; 17] 20, Is.EqualTo(51))

[<Test>]
[<Ignore("Remove to run test")>]
let ``Sum to 10000`` () =
    Assert.That(sumOfMultiples [43; 47] 10000, Is.EqualTo(2203160))

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trackler-2.0.0.5 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-2.0.0.4 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-2.0.0.3 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-2.0.0.2 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-2.0.0.1 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-2.0.0.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.4.1 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.4.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.3.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.2.1 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.2.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.1.2 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.1.1 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.1.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.0.1 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs
trackler-1.0.0 tracks/fsharp/exercises/sum-of-multiples/SumOfMultiplesTest.fs