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