Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save renestein/cd32456414210badd8c5 to your computer and use it in GitHub Desktop.
Save renestein/cd32456414210badd8c5 to your computer and use it in GitHub Desktop.
Run_When_Zero_Tasks_Added_And_Cancel_Work_Then_Returns_Zero
[TestMethod]
public void Run_When_Zero_Tasks_Added_And_Cancel_Work_Then_Returns_Zero()
{
cancelWorkAfterTimeout();
var result = m_scheduler.Run();
Assert.AreEqual(0, result);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment