MCPcopy Create free account
hub / github.com/ccxt/ccxt / test_in_array

Function test_in_array

python/ccxt/test/base/test_in_array.py:17–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15import ccxt.async_support as ccxt # noqa: F402
16
17def test_in_array():
18 exchange = ccxt.Exchange({
19 'id': 'regirock',
20 })
21 array = [1, 2, 3]
22 assert exchange.in_array(1, array)
23 assert exchange.in_array(2, array)
24 assert exchange.in_array(3, array)
25 assert exchange.in_array(4, array) is False

Callers 1

base_tests_initFunction · 0.90

Calls 2

in_arrayMethod · 0.95
ExchangeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…