MCPcopy Create free account
hub / github.com/catboost/catboost / th_inc

Function th_inc

library/python/func/ut/test_func.py:178–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 return Counter(start)
177
178 def th_inc():
179 assert get_counter(0).inc() == 1
180 assert get_counter(0).inc() == 2
181 assert get_counter(10).inc() == 11
182 assert get_counter(10).inc() == 12
183
184 th_inc()
185

Callers 1

Calls 2

get_counterFunction · 0.85
incMethod · 0.80

Tested by

no test coverage detected