()
| 15 | import ccxt.async_support as ccxt # noqa: F402 |
| 16 | |
| 17 | def test_parse_precision(): |
| 18 | exchange = ccxt.Exchange({ |
| 19 | 'id': 'sampleexchange', |
| 20 | }) |
| 21 | assert exchange.parse_precision('15') == '0.000000000000001' |
| 22 | assert exchange.parse_precision('1') == '0.1' |
| 23 | assert exchange.parse_precision('0') == '1' |
| 24 | assert exchange.parse_precision('-5') == '100000' |
no test coverage detected
searching dependent graphs…