Imported Upstream version 4.6.0
[debian/atlc] / tests / 6e-create_50ohm_401Pixel_high_symmetrical_stripline.test
1 #! /bin/sh
2 # A bitmap is created of a symmetrical_stripline. By adding the -v option
3 # to create_bmp_for_symmetrical_stripline the theoretical impedance
4 # is computed. 
5 # atlc is then called, and its estimate calaculated, which will differ 
6 # slightly from the theoretical data 
7
8 ZoTheory=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 2222 401 578 $top_builddir/tmp/50ohm-401h.bmp | awk '{print $4}'`
9 #echo "Zo theory = " $ZoTheory "Zo altc= " $Zoatlc " cksum of bitmap" $MD5SUM "cksum of .Ex.bmp= " $EXMD5SUM
10 if [ $ZoTheory = 50.026376  ]  ; then
11   rm $top_builddir/tmp/50ohm-401h.bmp
12   echo "PASSED:" $0 >> tests.log
13   exit 0
14 else
15   echo "FAILED:" $0 >> tests.log
16   exit 1
17 fi
18
19