getrandomTest function
Implementation
List getrandomTest() {
var tests = [];
final random = Random();
while (tests.length < 2) {
FaceVerificationTest randomTest = allTests[random.nextInt(allTests.length)];
if (!tests.contains(randomTest)) {
tests.add(randomTest);
}
}
return tests;
}