Skip to content

Commit

Permalink
add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
rainyl committed Sep 6, 2024
1 parent 9781c95 commit d372da9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/contrib/quality_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ void main() async {
value = await cv.QualityBRISQUE.compute1Async(modelPath, rangePath, target);
checkResult(value, [57.261, 0, 0]);

final features = cv.QualityBRISQUE.computeFeatures(refImg);
var features = cv.QualityBRISQUE.computeFeatures(refImg);
expect(features.isEmpty, false);

features = await cv.QualityBRISQUE.computeFeaturesAsync(refImg);
expect(features.isEmpty, false);
}
});
Expand Down

0 comments on commit d372da9

Please sign in to comment.