コード例 #1
0
ファイル: AssertThat.cs プロジェクト: p3NTech/AsyncGenerator
 public void ThatWithReturn()
 {
     Assert.That(() => Console.Read(), Throws.Nothing);
     Assert.That(() => SimpleFile.IsBusy(), Throws.Nothing);
     Assert.That(() => Write(), Throws.Nothing);
 }
コード例 #2
0
 public bool Test2()
 {
     return(SimpleFile.IsBusy());
 }