|
@@ -171,6 +171,8 @@ public class SetupFakeDriverAttribute : BeforeAfterTestAttribute
|
|
Debug.WriteLine ($"Before: {methodUnderTest.Name}");
|
|
Debug.WriteLine ($"Before: {methodUnderTest.Name}");
|
|
Assert.Null (Application.Driver);
|
|
Assert.Null (Application.Driver);
|
|
Application.Driver = new FakeDriver { Rows = 25, Cols = 25 };
|
|
Application.Driver = new FakeDriver { Rows = 25, Cols = 25 };
|
|
|
|
+ Assert.Equal (FakeConsole.BufferWidth, Application.Driver.Cols);
|
|
|
|
+ Assert.Equal (FakeConsole.BufferHeight, Application.Driver.Rows);
|
|
base.Before (methodUnderTest);
|
|
base.Before (methodUnderTest);
|
|
}
|
|
}
|
|
}
|
|
}
|