Imported Upstream version 4.6.0
[debian/atlc] / tests / 6c-create_25ohm_801Pixel_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 # To save time, atlc is not called to give its estimate of Zo, like it was
6 # in 6a-create_and_check_25ohm_201Pixel_high_symmetrical_stripline.test
7
8 Zo=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 6000 801 2664 $top_builddir/tmp/25ohm-801h.bmp | awk '{print $4}'`
9 if [ $Zo = 25.001256  ]; then
10   rm $top_builddir/tmp/25ohm-801h.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