Backgrounds: one locked Background per screen + mini rule (TASK 25)
This commit is contained in:
@@ -26,7 +26,9 @@ public class BackgroundTests
|
||||
Assert.Same(background, scene.Elements[0]);
|
||||
Assert.True(background.IsBackground);
|
||||
Assert.True(background.IsEnabled);
|
||||
Assert.Equal(SourceType.DisplayCapture, background.Type);
|
||||
// Non-Live scenes get the static-art flavor; only Live captures.
|
||||
Assert.Equal(SourceType.Background, background.Type);
|
||||
Assert.Equal("Background", background.Name);
|
||||
Assert.Equal(0, background.X);
|
||||
Assert.Equal(0, background.Y);
|
||||
Assert.Equal(1920, background.Width);
|
||||
|
||||
Reference in New Issue
Block a user