WPFアプリケーションの外での挙動の試験を追加する
このコミットが含まれているのは:
1ファイル変更
+17
@@ -0,0 +1,17 @@
|
||||
using System.Windows;
|
||||
using WaveOptics.Effects;
|
||||
|
||||
namespace WaveOptics.Tests;
|
||||
|
||||
public sealed class HostIntegrationTests
|
||||
{
|
||||
[Fact]
|
||||
public void OutsideAWpfApplicationTheEffectCanStillBeCreated()
|
||||
{
|
||||
Assert.Null(Application.Current);
|
||||
|
||||
var effect = new WaveOpticsEffect();
|
||||
|
||||
Assert.Equal(Texts.WaveOptics, effect.Label);
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする