import { BarcodeFormat } from '@zxing/library' ; import AbstractBlackBoxSpec from '../common/AbstractBlackBox' ; import { AztecCodeReader } from '@zxing/library' ; author dswitkin google export class AztecBlackBox2TestCase extends AbstractBlackBoxSpec { public constructor ( ) { super ( 'src/test/resources/blackbox/aztec-2' , new AztecCodeReader ( ) , BarcodeFormat . AZTEC ) ; this . addTest ( 5 , 5 , 0.0 ) ; this . addTest ( 4 , 4 , 90.0 ) ; this . addTest ( 6 , 6 , 180.0 ) ; this . addTest ( 3 , 3 , 270.0 ) ; } } describe ( 'AztecBlackBox.2' , ( ) => { it ( 'testBlackBox' , async ( ) => { const test = new AztecBlackBox2TestCase ( ) ; await test . testBlackBox ( ) ; } ) ; } ) ;