Sha256: 4714c4e52bc32af39f83d92534e3699c671b5884cba12a85d5b2b03b9c907371

Contents?: true

Size: 546 Bytes

Versions: 139

Compression:

Stored size: 546 Bytes

Contents

using System;

public enum Bucket
{
    One,
    Two
}

public class TwoBucketResult
{
    public int Moves { get; set; }
    public Bucket GoalBucket { get; set; }
    public int OtherBucket { get; set; }
}

public class TwoBucket
{
    public TwoBucket(int bucketOne, int bucketTwo, Bucket startBucket)
    {
        throw new NotImplementedException("You need to implement this function.");
    }

    public TwoBucketResult Measure(int goal)
    {
        throw new NotImplementedException("You need to implement this function.");
    }
}

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.179 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.178 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.177 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.176 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.175 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.174 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.173 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.172 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.171 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.170 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.169 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.167 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.166 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.165 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.164 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.163 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.162 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.161 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.160 tracks/csharp/exercises/two-bucket/TwoBucket.cs