File: test_brackets.py

package info (click to toggle)
alicevision 3.3.1%2Brepack-3
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 34,232 kB
  • sloc: cpp: 142,191; python: 13,724; ansic: 7,937; modula3: 6,977; sh: 163; makefile: 66
file content (27 lines) | stat: -rw-r--r-- 873 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"""
Collection of unit tests for the brackets detection.
"""

import pytest

import pyalicevision as av

##################
### List of functions:
# - operator<<() / not binded as such, replaced by "print"
# - bool estimateBracketsFromSfmData(vector<vector<shared_ptr<View>>>& groups,SfMData& sfmData,
#                                    size_t countBrackets)
# - int selectTargetViews(vector<vector<shared_ptr<View>>>& groups, SfMData& sfmData,
#                         size_t countBrackets)
##################

@pytest.mark.skip(reason="Specific data needed")
def test_brackets_estimate_brackets():
    """ Test estimating the brackets (groups of View objects) from an SfMData. """
    assert True


@pytest.mark.skip(reason="Specific data needed")
def test_brackets_select_views():
    """ Test selecting the target views from the brackets groups. """
    assert True