(major, minor, data)
| 147 | return major, minor |
| 148 | |
| 149 | def test_encode(major, minor, data): |
| 150 | hma = bin2hex(major) |
| 151 | hmi = bin2hex(minor) |
| 152 | output = test_latest('SPICE_Text', ACTION='Encode Input', |
| 153 | MAJOR_KEY=hma, MINOR_KEY=hmi, INPUT=data) |
| 154 | encoded = hex2bin(output.replace('\r', '').replace('\n', '')) |
| 155 | return encoded |
| 156 | |
| 157 | def test_decode(major, minor, data): |
| 158 | hma = bin2hex(major) |
no test coverage detected