import { BarcodeFormat } from '@zxing/library' ; import { MultiFormatReader } from '@zxing/library' ; import AbstractBlackBoxSpec from '../../common/AbstractBlackBox' ; author Sean Owen
  class RSS14BlackBox2Spec extends AbstractBlackBoxSpec { public constructor ( ) { super ( 'src/test/resources/blackbox/rss14-2' , new MultiFormatReader ( ) , BarcodeFormat . RSS_14 ) ; this . addTestWithMax ( 4 , 8 , 1 , 1 , 0.0 ) ; this . addTestWithMax ( 2 , 8 , 0 , 1 , 180.0 ) ; } } describe ( 'RSS14BlackBox.2' , ( ) => { it ( 'testBlackBox' , async ( ) => { const test = new RSS14BlackBox2Spec ( ) ; await test . testBlackBox ( ) ; } ) ; } ) ;