Path 1: 19 calls (1.0)

'+--+\n| ||\n|-+|\n| ||\n|-+|\n|-+|\n| ||\n+--+\n' (1) '+-++\n| ||\n+-++\n| ||\n+-++\n+-++\n| ||\n+-++\n' (1) '+-++\n| ||\n+=++\n| ||\n+-++\n+-++\n| |...

False (15) True (4)

1def __init__(self, box: str, *, ascii: bool = False) -> None:
2        self._box = box
3        self.ascii = ascii
4        line1, line2, line3, line4, line5, line6, line7, line8 = box.splitlines()
5        # top
6        self.top_left, self.top, self.top_divider, self.top_right = iter(line1)
7        # head
8        self.head_left, _, self.head_vertical, self.head_right = iter(line2)
9        # head_row
10        (
11            self.head_row_left,
12            self.head_row_horizontal,
13            self.head_row_cross,
14            self.head_row_right,
15        ) = iter(line3)
16
17        # mid
18        self.mid_left, _, self.mid_vertical, self.mid_right = iter(line4)
19        # row
20        self.row_left, self.row_horizontal, self.row_cross, self.row_right = iter(line5)
21        # foot_row
22        (
23            self.foot_row_left,
24            self.foot_row_horizontal,
25            self.foot_row_cross,
26            self.foot_row_right,
27        ) = iter(line6)
28        # foot
29        self.foot_left, _, self.foot_vertical, self.foot_right = iter(line7)
30        # bottom
31        self.bottom_left, self.bottom, self.bottom_divider, self.bottom_right = iter(
32            line8
33        )