public void Compare_VariousTimes_ReturnsExpectedValues(int timeInSeconds, int expectedResult) { Cue cue = new Cue { Begin = TimeSpan.FromSeconds(10), End = TimeSpan.FromSeconds(20) }; var result = cue.Compare(TimeSpan.FromSeconds(timeInSeconds)); Assert.That(result, Is.EqualTo(expectedResult)); }