#!/bin/sh

./dotest.sh /c24 redrect.svg || exit 1
./dotest.sh /c32 redrect.svg /c24 greenrect.svg /c16 bluerect.svg || exit 1
./dotest.sh /c12 redrect.svg /c8 greenrect.svg /c4 bluerect.svg || exit 1
./dotest.sh /8 redrect.svg /4 greenrect.svg /2 bluerect.svg || exit 1
./dotest.sh /1 redrect.svg /1,1 greenrect.svg /1,8 bluerect.svg || exit 1
./dotest.sh /c32,1 redrect.svg /c24,8 greenrect.svg /a /c24 bluerect.svg || exit 1
./dotest.sh /c32,1 redrect.svg /a /c24,8 greenrect.svg /c24 bluerect.svg || exit 1
# This test uses an uninitialized value, making it unreliable
#./dotest.sh redrect.svg greenrect.svg || exit 1
./dotest.sh /c24 redrect.svg greenrect.svg bluerect.svg || exit 1
./dotest.sh /c24,1 redrect.svg greenrect.svg bluerect.svg || exit 1
./dotest.sh /c24,1 redrect.svg /a greenrect.svg bluerect.svg || exit 1
./dotest.sh /c24 redrect.svg /c24 red.bmp /c24 green.bmp /c24 greenrect.svg || exit 1
./dotest.sh /c24 red.bmp green.bmp blue.bmp || exit 1
./dotest.sh /c24,1 red.bmp green.bmp blue.bmp || exit 1
./dotest.sh /c24,1 redrect.svg red.bmp /c24 green.bmp || exit 1
./dotest.sh /c24,1 red.bmp /c24,1 green.bmp || exit 1
./dotest.sh /c24,8 red.bmp /c24,1 green.bmp || exit 1
# This test uses an uninitialized value, making it unreliable
#./dotest.sh red.bmp /c24 green.bmp || exit 1

