summaryrefslogtreecommitdiff
path: root/tests/common/RecordsParam_create.cpp
blob: b247f3529cd50bd170512d35f0280c9e6673a2dd (plain)
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
#include "RecordsParam.h"

typedef RecordsParam RP;

vector<RecordsParam> RecordsParam::createParams()
{
return
    {
    RP({0, 1},
        {{"table", "стол"}, {"window", "окно"}},
        {"table", "window"},
        {{"table", "стол"}, {"window", "окно"}}),
    RP({0, 1},
        {{"table", "стол"}, {"window", "окно"}, {"world", "мир"}},
        {"table", "window", "world"},
        {{"table", "стол"}, {"window", "окно"}, {"world", "мир"}}),
    RP({1, 0},
        {{"table", "стол"}, {"window", "окно"}},
        {"стол", "окно"},
        {{"стол", "table"}, {"окно", "window"}}),
    RP({0, 1},
        {{"table", "стол"}, {"table", "стол"}},
        {"table"},
        {{"table", "стол"}}),
    RP({0, 1},
        {{"table", "стол"}, {"table", "таблица"}},
        {"table"},
        {{"table", "стол; таблица"}}),
    RP({1, 0},
        {{"world", "мир"}, {"peace", "мир"}},
        {"мир"},
        {{"мир", "world; peace"}}),
    RP({1, 0},
        {{"man", "человек; мужчина"}, {"man", "мужик"}},
        {"человек", "мужчина", "мужик"},
        {{"человек", "man"}, {"мужчина", "man"}, {"мужик", "man"}}),
    RP({0, 1},
        {{"better; best", "лучший"}},
        {"better", "best"},
        {{"better", "лучший"}, {"best", "лучший"}}),
    RP({0, 1},
        {{"table", ""},},
        {},
        {}),
    RP({0, 1},
        {{"", "стол"},},
        {},
        {}),
    RP({0, 1, 2},
        {{"table", "стол", "pöytä"}, {"window", "окно", "ikkuna"}},
        {"table", "window"},
        {{"table", "стол", "pöytä"}, {"window", "окно", "ikkuna"}}),
    RP({0, 2, 1},
        {{"table", "стол", "pöytä"}, {"window", "окно", "ikkuna"}},
        {"table", "window"},
        {{"table", "pöytä", "стол"}, {"window", "ikkuna", "окно"}}),
    RP({0, 1, 2},
        {{"table", "", "pöytä"}, {"window", "окно", ""}},
        {"table", "window"},
        {{"table", "", "pöytä"}, {"window", "окно", ""}}),
    };
}