#!/bin/sh

exec 2>&1

set -e

test_datadir() {
  test -d /usr/share/supernovas
}

test_cio_file() {
  test -f /usr/share/supernovas/CIO_RA.TXT
}

test_star() {
  # Build the example program against the installed development libs
  gcc -o example-star examples/example-star.c -lsupernovas
  
  # Run the example program
  ./example-star
}

. shunit2
