expanded decoders test ok

This commit is contained in:
Henry Schimke
2022-12-15 13:16:31 -06:00
parent 7b75dba2c5
commit c167442e5b
16 changed files with 335 additions and 378 deletions

View File

@@ -197,7 +197,8 @@ impl<'a> GeneralAppIdDecoder<'_> {
}
} //while (!isFinished);
Ok(result.getDecodedInformation().as_ref().unwrap().clone())
if result.getDecodedInformation().is_some(){ Ok(result.getDecodedInformation().as_ref().unwrap().clone())}
else {Err(Exceptions::NotFoundException("".to_owned()))}
}
fn parseNumericBlock(&mut self) -> Result<BlockParsedRXingResult, Exceptions> {