Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
/ corefx Public archive

Label implements IEquatable<Label> #35673

Merged
merged 5 commits into from
Apr 6, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add Unit Tests for IEquatable<Label>
  • Loading branch information
foxtrek64 committed Mar 24, 2019
commit 98f00a037ccc77e8aae803eead0b39126025ebe8
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,14 @@ public void Equals_EqualityOperators()
Assert.True(lb1 == lb2);
Assert.False(lb1 != lb2);
}

[Fact]
public void Equals_IEquatable()
{
IEquatable<Label> label1 = new Label();
Label label2 = new Label();

label1.Equals(label2);
}
Foxtrek64 marked this conversation as resolved.
Show resolved Hide resolved
}
}