function setUIResult(testbenchData, result) {
    const data = testbenchData.testData;
    const groupIndex = testbenchData.currentGroup;
    const caseIndex = testbenchData.currentCase;
    const resultElement = $('#tb-manual-table-test-result');
    let inputCount = data.groups[0].inputs.length;
    resultElement.empty();
    resultElement.append('<td>Result</td>');
    while (inputCount--) {
        resultElement.append('<td> - </td>');
    }

    for (const output of result.keys()) {
        const resultValue = result.get(output);
        const expectedValue = data.groups[groupIndex].outputs.find((dataOutput) => dataOutput.label.trim() === output).values[caseIndex];
        const color = resultValue === expectedValue ? '#17FC12' : '#FF1616';
        resultElement.append(`<td style="color: ${color}">${escapeHtml(resultValue)}</td>`);
    }
}
UI Function
Set the current test case result on the UI
@param {Object} data - Object containing the test data
@param {Map} result - Map containing the output values (returned by getOutputValues())