2023-08-29 08:40:40 +00:00
|
|
|
from papis_extract.annotation_data import Annotation
|
|
|
|
|
2023-08-29 08:43:43 +00:00
|
|
|
|
2023-08-29 08:40:40 +00:00
|
|
|
def test_colorname_exact():
|
|
|
|
sut = Annotation("testfile", colors={"stroke": (1.0, 0.0, 0.0)})
|
|
|
|
c_name = sut.colorname
|
|
|
|
assert c_name == "red"
|