Task Description: Determine If Original Square is Possible
Functionality
You need to implement a function is_original_square_possible(t, test_cases) that checks if two sets of sides can form a square. For each test case, the function will determine whether it is possible to form a square by using one side from each set such that the largest side is equal and the sum of the smallest sides from both sets equals the largest side.
Input/Output Requirements
Input:
An integer t (1 ≤ t ≤ 100) representing the number of test cases.
A list test_cases of length t. Each element is a tuple containing two lists:
The first list contains 2 integers (side lengths of the first set).
The second list contains 2 integers (side lengths of the second set).
Output:
The function should return a list of strings. For each test case, return "YES" if it is possible to form a square with the given sides, otherwise return "NO".