def test_1_0(self): self.draw_func(self.cube, coords=(1, 0)) u, v = broadcast(self.foo_index, self.bar_index) self._check(u, v, self.data)
def test_foo_bar(self): self.draw_func(self.cube, coords=("foo", "bar")) u, v = broadcast(self.foo, self.bar) self._check(u, v, self.data)
def test_bar_foo(self): self.draw_func(self.cube, coords=("bar", "foo")) u, v = broadcast(self.bar, self.foo) self._check(u, v, self.dataT)
def test_foo_0(self): self.draw_func(self.cube, coords=('foo', 0)) u, v = broadcast(self.foo, self.bar_index) self._check(u, v, self.data)
def test_0_1(self): self.draw_func(self.cube, coords=(0, 1)) u, v = broadcast(self.bar_index, self.foo_index) self._check(u, v, self.dataT)
def test_bar_foo(self): self.draw_func(self.cube, coords=('bar', 'foo')) u, v = broadcast(self.bar, self.foo) self._check(u, v, self.dataT)
def test_foo_bar(self): self.draw_func(self.cube, coords=('foo', 'bar')) u, v = broadcast(self.foo, self.bar) self._check(u, v, self.data)
def test_1_bar(self): self.draw_func(self.cube, coords=(1, 'bar')) u, v = broadcast(self.foo_index, self.bar) self._check(u, v, self.data)