Exemple #1
0
int main(int argc, char **argv) {
  grpc_test_init(argc, argv);
  test_create_table();
  test_simple_add_and_erase();
  test_table_with_int_key();
  test_table_with_string_key();
  test_value_and_key_deleter();
  test_insertion_with_same_key();
  test_insertion_and_deletion_with_high_collision_rate();
  return 0;
}
Exemple #2
0
int main() {
    bool boolResults;
    int pocID = 2, sensorID = 3;
    MySQL_Interface interface;
    masterTestFlag = false;

    cout << "MySQL_Interface Unit Testing: " << endl << endl;

    test_get_spot_status();
    test_set_spot_status();
    test_create_spot();
    test_get_entry_count();
    test_create_table();

    print_test_master();

    stress_setup();
    stress_test_get_spot_status();
    stress_test_set_spot_status();

    return 0;
}