i = random.uniform(-9.99999999999,9.99999999999) j = random.randint(-499,499) k = random.uniform(-9.99999999999,9.99999999999) l = random.randint(-499,499) first = str(i) + 'EEX' + str(j) second = str(k) + 'EEX' + str(l) f.writelines(["[TEST COMPLEX_Real%0.0f] conj(" % (n) + first + '+' + second + ")\n" ]) second = atof(second) second = second * (-1) f.writelines(["[EXPECTED]" + first + "," + second + "\n [BINARY] 0\n[PRIORITY]\n" ])
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)