Lines Matching full:test
172 int Compare (NUANArc *test)
174 if (fromId > test->fromId)
176 else if (fromId < test->fromId)
178 else if (toId > test->toId)
180 else if (toId < test->toId)
182 else if (inputLabel > test->inputLabel)
184 else if (inputLabel < test->inputLabel)
186 else if (outputLabel > test->outputLabel)
188 else if (outputLabel < test->outputLabel)
194 int CompareSymbol (NUANArc *test)
196 if (inputLabel > test->inputLabel)
198 else if (inputLabel < test->inputLabel)
200 else if (outputLabel > test->outputLabel)
202 else if (outputLabel < test->outputLabel)
208 int CompareReverse (NUANArc *test)
210 if (toId > test->toId)
212 else if (toId < test->toId)
214 else if (fromId > test->fromId)
216 else if (fromId < test->fromId)
218 else if (inputLabel > test->inputLabel)
220 else if (inputLabel < test->inputLabel)
222 else if (outputLabel > test->outputLabel)
224 else if (outputLabel < test->outputLabel)
230 int CompareForMin (NUANArc *test)
232 if (fromId > test->fromId)
234 else if (fromId < test->fromId)
236 else if (inputLabel > test->inputLabel)
238 else if (inputLabel < test->inputLabel)
240 else if (outputLabel > test->outputLabel)
242 else if (outputLabel < test->outputLabel)
244 else if (toId > test->toId)
246 else if (toId < test->toId)
252 int CompareWithContext (NUANArc *test)
254 if (fromId > test->fromId)
256 else if (fromId < test->fromId)
258 else if (toId > test->toId)
260 else if (toId < test->toId)
262 else if (inputLabel > test->inputLabel)
264 else if (inputLabel < test->inputLabel)
266 else if (outputLabel > test->outputLabel)
268 else if (outputLabel < test->outputLabel)
270 else if (left > test->left)
272 else if (left < test->left)
274 else if (right > test->right)
276 else if (right < test->right)
282 bool IsSame (NUANArc *test)
284 if (inputLabel == test->inputLabel && outputLabel == test->outputLabel && fromId == test->fromId && toId == test->toId)
290 bool HasSameLabels (NUANArc *test)
292 if (inputLabel == test->inputLabel && outputLabel == test->outputLabel)
298 bool HasSameLabelsAndTo (NUANArc *test)
300 if (inputLabel == test->inputLabel && outputLabel == test->outputLabel && toId == test->toId)
306 bool HasSameLabelsAndFrom (NUANArc *test)
308 if (inputLabel == test->inputLabel && outputLabel == test->outputLabel && fromId == test->fromId)