()
| 15 | } |
| 16 | |
| 17 | function testDecode () { |
| 18 | const exchange = new ccxt.Exchange ({ |
| 19 | 'id': 'sampleexchange', |
| 20 | }); |
| 21 | const input = 'decode-test'; |
| 22 | const encoded = exchange.encode (input); |
| 23 | const decoded = exchange.decode (encoded); |
| 24 | assert (decoded === input, 'decoded should be equal to input, got ' + decoded + ' instead of ' + input); |
| 25 | } |
| 26 | |
| 27 | function testEncodeDecode () { |
| 28 | testEncode (); |
no test coverage detected
searching dependent graphs…