From 4d1a31d6a74019c3d43de1c33e2be093ed6dfd11 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 31 Jul 2021 08:49:25 +1000 Subject: Implement StyleSetCheckMonospaced. --- test/simpleTests.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/simpleTests.py') diff --git a/test/simpleTests.py b/test/simpleTests.py index dca1e24c4..e8b9e69c4 100644 --- a/test/simpleTests.py +++ b/test/simpleTests.py @@ -1985,6 +1985,11 @@ class TestStyleAttributes(unittest.TestCase): self.ed.FontLocale = testLocale self.assertEquals(self.ed.GetFontLocale(), testLocale) + def testCheckMonospaced(self): + self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 0) + self.ed.StyleSetCheckMonospaced(self.ed.STYLE_DEFAULT, 1) + self.assertEquals(self.ed.StyleGetCheckMonospaced(self.ed.STYLE_DEFAULT), 1) + class TestElements(unittest.TestCase): """ These tests are just to ensure that the calls set and retrieve values. They do not check the visual appearance of the style attributes. -- cgit v1.2.3