From 4348d902e2252557ad2879b38c428f554c25e227 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 28 Apr 2022 08:59:21 +0100 Subject: [PATCH] Rename CoordinateBoxTestCase test methods --- enable/tests/test_coordinate_box.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/enable/tests/test_coordinate_box.py b/enable/tests/test_coordinate_box.py index 22f3f235e..25c71989b 100644 --- a/enable/tests/test_coordinate_box.py +++ b/enable/tests/test_coordinate_box.py @@ -13,14 +13,14 @@ class CoordinateBoxTestCase(unittest.TestCase): - def check_position(self): + def test_position(self): c = CoordinateBox(bounds=[50.0, 50.0]) self.assertTrue(c.position[0] == c.x) self.assertTrue(c.position[1] == c.y) self.assertTrue(c.x == 0.0) self.assertTrue(c.y == 0.0) - def check_bounds(self): + def test_bounds(self): c = CoordinateBox(bounds=[50.0, 60.0]) self.assertTrue(c.width == c.bounds[0]) self.assertTrue(c.height == c.bounds[1]) @@ -29,7 +29,7 @@ def check_bounds(self): self.assertTrue(c.x2 == 49.0) self.assertTrue(c.y2 == 59.0) - def check_is_in(self): + def test_is_in(self): c = CoordinateBox(x=10, y=20) c.width = 100 c.height = 100