src/tests/merger_tests/handleInputs.cpp
TEST (handleInputs, serverAndClientInput) {
    string current = "S";
    istringstream iss("[ 0 5 ]");
    map<uint32_t, uint32_t> wires;
    testInputs(current, iss, 0, 5, OUTPUT_FILE_HANDLE_INPUTS, 0, wires);
    current = "C";
    istringstream iss2("[ 6 18 ]");
    testInputs(current, iss2, 6, 18, OUTPUT_FILE_HANDLE_INPUTS, 6, wires);
}
/*
 * tests for server and client inputs. Server's inputs are specified first
 */
tests for server and client inputs. Server's inputs are specified first
tests for server and client inputs . Server ' s inputs are specified first
TEST (handleInputs, serverAndClientInput) {
    string current = "S";
    istringstream iss("[ 0 5 ]");
    map<uint32_t, uint32_t> wires;
    testInputs(current, iss, 0, 5, OUTPUT_FILE_HANDLE_INPUTS, 0, wires);
    current = "C";
    istringstream iss2("[ 6 18 ]");
    testInputs(current, iss2, 6, 18, OUTPUT_FILE_HANDLE_INPUTS, 6, wires);
}
TEST ( handleInputs , serverAndClientInput ) { string current = " " ; istringstream iss ( " " ) ; map < uint32_t , uint32_t > wires ; testInputs ( current , iss , 0 , 5 , OUTPUT_FILE_HANDLE_INPUTS , 0 , wires ) ; current = " " ; istringstream iss2 ( " " ) ; testInputs ( current , iss2 , 6 , 18 , OUTPUT_FILE_HANDLE_INPUTS , 6 , wires ) ; }
tests for server and client inputs.
tests for server and client inputs .