Sha256: bfddc7113e3ce61b6e8a5c476774fc1b0638c3af8c400e095a1663dec1f500e3

Contents?: true

Size: 1005 Bytes

Versions: 79

Compression:

Stored size: 1005 Bytes

Contents

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

module GigasecondTest

open FsUnit.Xunit
open Xunit
open System

open Gigasecond

[<Fact>]
let ``Date only specification of time`` () =
    add (DateTime(2011, 4, 25)) |> should equal (DateTime(2043, 1, 1, 1, 46, 40))

[<Fact(Skip = "Remove to run test")>]
let ``Second test for date only specification of time`` () =
    add (DateTime(1977, 6, 13)) |> should equal (DateTime(2009, 2, 19, 1, 46, 40))

[<Fact(Skip = "Remove to run test")>]
let ``Third test for date only specification of time`` () =
    add (DateTime(1959, 7, 19)) |> should equal (DateTime(1991, 3, 27, 1, 46, 40))

[<Fact(Skip = "Remove to run test")>]
let ``Full time specified`` () =
    add (DateTime(2015, 1, 24, 22, 0, 0)) |> should equal (DateTime(2046, 10, 2, 23, 46, 40))

[<Fact(Skip = "Remove to run test")>]
let ``Full time with day roll-over`` () =
    add (DateTime(2015, 1, 24, 23, 59, 59)) |> should equal (DateTime(2046, 10, 3, 1, 46, 39))

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.179 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.178 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.177 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.176 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.175 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.174 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.173 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.172 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.171 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.170 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.169 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.167 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.166 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.165 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.164 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.163 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.162 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.161 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs
trackler-2.2.1.160 tracks/fsharp/exercises/gigasecond/GigasecondTest.fs