()
| 16 | from ccxt.test.exchange.base import test_shared_methods # noqa E402 |
| 17 | |
| 18 | def test_encode(): |
| 19 | exchange = ccxt.Exchange({ |
| 20 | 'id': 'sampleexchange', |
| 21 | }) |
| 22 | input = 'encode-test' |
| 23 | encoded = exchange.encode(input) |
| 24 | decoded = exchange.decode(encoded) |
| 25 | assert decoded == input, 'decoded should be equal to input, got ' + decoded + ' instead of ' + input |
| 26 | |
| 27 | |
| 28 | def test_decode(): |
no test coverage detected
searching dependent graphs…