File: CNN_Search.robot

package info (click to toggle)
geogram 1.9.6-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 15,436 kB
  • sloc: cpp: 143,890; ansic: 10,098; perl: 1,430; sh: 1,199; yacc: 522; lex: 182; python: 157; javascript: 149; makefile: 17
file content (115 lines) | stat: -rw-r--r-- 2,495 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
*** Settings ***
Test Setup        Prepare Test
Test Teardown     Cleanup Test
Force Tags        NNSearch    daily
Library           OperatingSystem
Library           String
Library           lib/VorpatestLibrary.py

*** Variables ***
${DATADIR}        %{VORPATEST_ROOT_DIR}${/}data${/}RVD

*** Test Cases ***
center_square.obj
    [Tags]    smoke    daily_valgrind
    Run Test    center_square.obj

913_fusee.obj
    [Tags]    weekly_valgrind
    Run Test

cranck_cse.obj
    [Tags]    weekly_valgrind
    Run Test

cylinder_brep.obj
    [Tags]    weekly_valgrind
    Run Test

cyl.meshb
    [Tags]    smoke    daily_valgrind
    Run Test

disk1.obj
    [Tags]    smoke    daily_valgrind
    Run Test

disk2.obj
    [Tags]    smoke    daily_valgrind
    Run Test

fandisk.obj
    [Tags]    smoke    daily_valgrind
    Run Test

fingertip.obj
    [Tags]    weekly_valgrind
    Run Test

grid1.obj
    [Tags]    smoke    daily_valgrind
    Run Test    grid1.obj

grid2.obj
    [Tags]    smoke    daily_valgrind
    Run Test

grid3.obj
    [Tags]    smoke    daily_valgrind
    Run Test

grid4.obj
    [Tags]    smoke    daily_valgrind
    Run Test

grid5.obj
    [Tags]    smoke    daily_valgrind
    Run Test

grid6.obj
    [Tags]    smoke    daily_valgrind
    Run Test

grid.obj
    [Tags]    smoke    daily_valgrind
    Run Test

moto.meshb
    [Tags]    weekly_valgrind
    Run Test

SaraPezzini.obj
    [Tags]    smoke    daily_valgrind
    Run Test

tordu.meshb
    [Tags]    smoke    daily_valgrind
    Run Test

two_grids.obj
    [Tags]    smoke    daily_valgrind
    Run Test

v8_engine.meshb
    [Tags]    weekly_valgrind
    Run Test

Zylkopf.meshb
    [Tags]    smoke    daily_valgrind
    Run Test

xfail_missing_input_file
    [Tags]    smoke    daily_valgrind
    Run Keyword And Expect Error    CalledProcessError: Command*returned non-zero exit status*    run command    test_nn_search

xfail_two_input_files
    [Tags]    smoke    daily_valgrind
    Run Keyword And Expect Error    CalledProcessError: Command*returned non-zero exit status*    run command    test_nn_search    ${DATADIR}${/}grid1.obj    ${DATADIR}${/}grid2.obj

*** Keywords ***
Run Test
    [Arguments]    ${input_name}=${TEST NAME}    @{options}
    [Documentation]    Runs test_nn_search on a single input file.
    ...    The name of the input file is taken from the test name.
    run command    test_nn_search    algo:predicates=exact    algo:nn_search=CNN    @{options}    ${DATADIR}${/}${input_name}