#!/bin/sh

testPrintVersion() {
  ./napalm -v 2> /dev/null
  assertEquals 0 $?
}

testPrintHelp() {
  ./napalm -h 2> /dev/null
  assertEquals 10 $?
}


. ./shunit2

#!/bin/sh

testPrintVersion() {
  ./napalm -v 2> /dev/null
  assertEquals 0 $?
}

testPrintHelp() {
  ./napalm -h 2> /dev/null
  assertEquals 10 $?
}

testIllegalArgument() {
  # -i is not recognized argument
  ./napalm -i 2> /dev/null
  assertEquals 10 $?
}


. ./shunit2

Add test for illegal argument.
Add test for illegal argument.
