import { BarcodeFormat } from '@zxing/library' ; import AbstractBlackBoxSpec from '../common/AbstractBlackBox' ; import { AztecCodeReader } from '@zxing/library' ; author David Olivier
  export class AztecBlackBox1TestCase extends AbstractBlackBoxSpec { public constructor ( ) { super ( 'src/test/resources/blackbox/aztec-1' , new AztecCodeReader ( ) , BarcodeFormat . AZTEC ) ; this . addTest ( 13 , 13 , 0.0 ) ; this . addTest ( 13 , 13 , 90.0 ) ; this . addTest ( 13 , 13 , 180.0 ) ; this . addTest ( 13 , 13 , 270.0 ) ; } } describe ( 'AztecBlackBox.1' , ( ) => { it ( 'testBlackBox' , async ( ) => { const test = new AztecBlackBox1TestCase ( ) ; await test . testBlackBox ( ) ; } ) ; } ) ;