tests/robot_test.py
def assert_pose_west_of(self, pose1, pose2):
        """
        Assert that pose1 is ONE step west of pose2.
        """
        x1, y1, _ = pose1
        x2, y2, _ = pose2
        self.assertEqual(y1 - y2, -1)
        self.assertEqual(x1, x2)

        Assert that pose1 is ONE step west of pose2.
        
Assert that pose1 is ONE step west of pose2.
Assert that pose1 is ONE step west of pose2 .
def assert_pose_west_of(self, pose1, pose2):
        x1, y1, _ = pose1
        x2, y2, _ = pose2
        self.assertEqual(y1 - y2, -1)
        self.assertEqual(x1, x2)
def assert_pose_west_of ( self , pose1 , pose2 ) : x1 , y1 , _ = pose1 x2 , y2 , _ = pose2 self . assertEqual ( y1 - y2 , - 1 ) self . assertEqual ( x1 , x2 )
Assert that pose1 is ONE step west of pose2.
Assert that pose1 is ONE step west of pose2 .
"""
        Assert that pose1 is ONE step west of pose2.
        """
self
pose1
pose2