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.58 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.57 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.56 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.55 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.54 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.53 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.52 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.51 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.50 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.49 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.48 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.47 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.46 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.45 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.44 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.43 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.42 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.41 tracks/csharp/exercises/two-bucket/TwoBucket.cs
trackler-2.2.1.40 tracks/csharp/exercises/two-bucket/TwoBucket.cs