missed one!
[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/create_bmp_for_symmetrical_stripline -v 2222 401 578 $top_builddir/tmp/50ohm-401h.bmp | awk '{print $4}' | tail -1`
9 if [ $ZoTheory = 50.026376  ]  ; then
10   rm $top_builddir/tmp/50ohm-401h.bmp
11   echo "PASSED:" $0 >> tests.log
12   exit 0
13 else
14   echo "FAILED:" $0 >> tests.log
15   exit 1
16 fi
17
18