Skip to content

Commit

Permalink
Added missing IComparable
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ovegard committed Oct 31, 2016
1 parent 3653228 commit c56f4a4
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,15 @@ internal class TestObj
public Frequency NonNullableFrequency { get; set; }
}

internal class TestObjWithValueAndUnit
internal class TestObjWithValueAndUnit : IComparable
{
public double Value { get; set; }
public string Unit { get; set; }

public int CompareTo(object obj)
{
return Value.CompareTo(obj);
}
}

internal class ComparableClass : IComparable
Expand Down

6 comments on commit c56f4a4

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 231 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 231 outcome was SUCCESS
Summary: Tests passed: 846 Build time: 0:0:30

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 232 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 232 outcome was SUCCESS
Summary: Tests passed: 846 Build time: 0:0:31

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 235 is now running

@angularsen
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Units.NET :: Build and Test Build 235 outcome was SUCCESS
Summary: Tests passed: 846 Build time: 0:0:33

Please sign in to comment.