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