Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/histogram
/ test_iter
Method
test_iter
test/python_suite_test.py:282–286 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
280
a[3]
281
282
def
test_iter(self):
283
v = [-0.1, 0.2, 0.3]
284
a = variable(*v)
285
self.assertEqual([x[0]
for
x in a], v[:-1])
286
self.assertEqual([x[1]
for
x in a], v[1:])
287
288
def
test_index(self):
289
a = variable(-0.1, 0.2, 0.3)
Callers
nothing calls this directly
Calls
1
variable
Class · 0.90
Tested by
no test coverage detected