| Total Complexity | 0 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | from __future__ import annotations |
||
| 2 | |||
| 3 | from structured_data import enum |
||
| 4 | |||
| 5 | |||
| 6 | @enum.enum |
||
| 7 | class Basic: |
||
| 8 | |||
| 9 | Left: enum.Ctor[int] |
||
| 10 | Right: enum.Ctor[str] |
||
| 11 | |||
| 12 | left_type = (int,) |
||
| 13 | right_type = (str,) |
||
| 14 | |||
| 15 | |||
| 16 | @enum.enum |
||
| 17 | class Tupled: |
||
| 18 | |||
| 19 | Left: enum.Ctor[int, int] |
||
| 20 | Right: enum.Ctor[str, str] |
||
| 21 | |||
| 22 | left_type = (int, int) |
||
| 23 | right_type = (str, str) |
||
| 24 | |||
| 25 | |||
| 26 | TEST_CLASSES = [Basic, Tupled] |
||
| 27 |