Beispiel #1
0
 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)
Beispiel #2
0
 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)
Beispiel #3
0
 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)
Beispiel #4
0
 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)
Beispiel #5
0
 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)
Beispiel #6
0
 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)
Beispiel #7
0
 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)
Beispiel #8
0
 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)
Beispiel #9
0
 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)
Beispiel #10
0
 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)