import { BarcodeFormat } from '@zxing/library' ; import AbstractBlackBoxSpec from './../common/AbstractBlackBox' ; import { Code39Reader } from '@zxing/library' ; author Sean Owen
  class Code39ExtendedBlackBox2Spec extends AbstractBlackBoxSpec { public constructor ( ) { super ( 'src/test/resources/blackbox/code39-2' , new Code39Reader ( false , true ) , BarcodeFormat . CODE_39 ) ; this . addTest ( 2 , 2 , 0.0 ) ; this . addTest ( 2 , 2 , 180.0 ) ; } } describe ( 'Code39ExtendedBlackBox.2' , ( ) => { it ( 'testBlackBox' , async ( ) => { const test = new Code39ExtendedBlackBox2Spec ( ) ; await test . testBlackBox ( ) ; } ) ; } ) ;