1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-22 22:10:35 +00:00

Added command equlity test

This commit is contained in:
Mark McDowall 2013-09-12 18:47:18 -07:00
parent dabff6942e
commit 3522ad0547

View file

@ -62,5 +62,14 @@ public void should_return_false_when_no_properties_match()
CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse();
}
[Test]
public void should_return_false_when_only_one_has_properties()
{
var command1 = new SeasonSearchCommand();
var command2 = new SeasonSearchCommand { SeriesId = 2, SeasonNumber = 2 };
CommandEqualityComparer.Instance.Equals(command1, command2).Should().BeFalse();
}
}
}