Merge pull request #15955 from VadimLevin:dev/vlevin/generator_tests
authorVadim Levin <vadim.levin@xperience.ai>
Fri, 29 Nov 2019 13:24:13 +0000 (16:24 +0300)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Fri, 29 Nov 2019 13:24:13 +0000 (16:24 +0300)
commit8d74101f07b11a1ffd8b5e9a3d3514674a0bbfd5
treeb184b5a00e6cea70cce05ad9a07993554833f045
parent41af8aa046be2f9e93a7f37fdc21aba1ec942bfc
Merge pull request #15955 from VadimLevin:dev/vlevin/generator_tests

Tests for argument conversion of Python bindings generator

* Tests for parsing elemental types from Python bindings

  - Add positive and negative tests for int, float, double, size_t,
    const char*, bool.
  - Tests with wrong conversion behavior are skipped.

* Move implicit conversion of bool to integer/floating types to wrong
conversion behavior.
modules/core/include/opencv2/core/bindings_utils.hpp
modules/python/test/test_misc.py