Imported Upstream version 4.6.0
[debian/atlc] / tests / 6b-create_25ohm_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 # 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
9 Zo=`$top_builddir/src/non_gui/create_bmp_for_symmetrical_stripline -v 2978 401 1334 $top_builddir/tmp/25ohm-401h.bmp  | awk '{print $4}'`
10 if [ $Zo = 24.995678 ]; then
11   rm  $top_builddir/tmp/25ohm-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