Test framework and tests in Scheme, and portable. Work in progress. Expect commits for more tests. Testing framework is stable, more or less. Add more tests Add tests layer and layerMask. test Item methods More tests, selection Test memory, vector in TS. More tests char functions sharp expr tests
13 lines
No EOL
359 B
Scheme
13 lines
No EOL
359 B
Scheme
|
|
; Miscellaneous tests of the PDB
|
|
; These are not associated with an object class
|
|
|
|
|
|
; 0 is an invalid item id
|
|
; FUTURE gimp returns #f instead of 0
|
|
; FUTURE gimp doesn't wrap in extra list
|
|
(assert '(= (car (gimp-item-id-is-vectors 0)) 0))
|
|
|
|
; -1 is an invalid item id
|
|
; FUTURE: '(not (gimp-item-id-is-valid -1))
|
|
(assert '(= (car (gimp-item-id-is-valid -1)) 0)) |