Adding basic test coverage to opencv