Imported Upstream version 4.6.0
[debian/atlc] / tests / 10a-create-lots-of-examples-check-last-one.test
1 #! /bin/sh
2
3 Zodd=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -v 1.0 1.0 0.02 1 $top_builddir/tests/coupler8.bmp | tail -4 | head -1 | awk '{print $2}'`
4 Zeven=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -v 1.0 1.0 0.02 1 $top_builddir/tests/coupler8.bmp | tail -4 | head -1 | awk '{print $4}'`
5 Zo=`$top_builddir/src/non_gui/create_bmp_for_stripline_coupler -v 1.0 1.0 0.02 1 $top_builddir/tests/coupler8.bmp | tail -4 | head -1 | awk '{print $6}'`
6 rm $top_builddir/tests/coupler8.bmp
7
8 if [ $Zodd = 40.395419 ] && [ $Zeven = 76.541465 ]  && [ $Zo = 55.605076 ] ; then
9   echo "PASSED:" $0 >> tests.log
10   exit 0
11 else
12   echo "FAILED:" $0  >> tests.log
13   exit 1
14 fi
15