#! /bin/bash
# This script tests: ppmpat
# Also requires:

# Test 1. Should print: 4008533639 781
ppmpat -g2 --color=rgb:32/0d/b7,rgb:31/58/a3 16 16 | cksum

# Test 2. Should print: 3805937800 9613
ppmpat -g3 --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 64 50 | cksum

# Test 3. Should print: 2698433077 1549
ppmpat -madras --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 32 16 | cksum

# Test 4. Should print: 3705929501 781
ppmpat -tartan --color=rgb:32/0d/b7,rgb:31/58/a3,rgb:e9/5e/d4 16 16 | cksum

# Test 5. Should print: 3057513592 661
ppmpat -argyle1 --color=rgb:ff/ff/ff,rgb:ff/0/0 12 18 | cksum

# Test 6. Should print: 1861389287 661
ppmpat -argyle2 --color=rgb:00/00/00,rgb:ff/80/80,rgb:e0/e0/e0 12 18 | cksum
