PIKApp/plug-ins/script-fu/test/tests/PDB/enums.scm

20 lines
379 B
Scheme
Raw Normal View History

2023-09-26 00:35:21 +02:00
; Test enums of the PDB
; These test and illustrate enums
; ImageBaseType
(assert '(= RGB 0))
(assert '(= GRAY 1))
(assert '(= INDEXED 2))
; ImageType is not same as ImageBaseType
(assert '(= RGB-IMAGE 0))
(assert '(= RGBA-IMAGE 1))
(assert '(= GRAY-IMAGE 2))
(assert '(= GRAYA-IMAGE 3))
(assert '(= INDEXED-IMAGE 4))
(assert '(= INDEXEDA-IMAGE 5))