Sha256: 11c18369ed8a7f720d5c760f80738731b28280b3b830aea9ef2dcd56c02dd420

Contents?: true

Size: 804 Bytes

Versions: 115

Compression:

Stored size: 804 Bytes

Contents

using System;
using Xunit;

public class GigasecondTest
{
    [Fact]
    public void First_date()
    {
        var date = Gigasecond.Date(new DateTime(2011, 4, 25, 0, 0, 0, DateTimeKind.Utc));
        Assert.Equal(new DateTime(2043, 1, 1, 1, 46, 40, DateTimeKind.Utc), date);
    }

    [Fact(Skip = "Remove to run test")]
    public void Another_date()
    {
        var date = Gigasecond.Date(new DateTime(1977, 6, 13, 0, 0, 0, DateTimeKind.Utc));
        Assert.Equal(new DateTime(2009, 2, 19, 1, 46, 40, DateTimeKind.Utc), date);
    }

    [Fact(Skip = "Remove to run test")]
    public void Yet_another_date()
    {
        var date = Gigasecond.Date(new DateTime(1959, 7, 19, 0, 0, 0, DateTimeKind.Utc));
        Assert.Equal(new DateTime(1991, 3, 27, 1, 46, 40, DateTimeKind.Utc), date);
    }
}

Version data entries

115 entries across 115 versions & 1 rubygems

Version Path
trackler-2.2.1.12 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.11 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.10 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.9 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.8 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.7 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.6 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.5 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.4 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.3 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.2 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.1 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.1.0 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.6 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.5 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.4 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.3 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.2 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.1 tracks/csharp/exercises/gigasecond/GigasecondTest.cs
trackler-2.2.0.0 tracks/csharp/exercises/gigasecond/GigasecondTest.cs