mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-27 05:46:24 +02:00
2d plotting
This commit is contained in:
parent
c2750ae719
commit
8dbb65ab50
4 changed files with 50 additions and 49 deletions
|
|
@ -30,6 +30,11 @@ class Test(unittest.TestCase):
|
|||
self.assertListEqual(self.param_index[two].tolist(), [0,3])
|
||||
self.assertListEqual(self.param_index[one].tolist(), [1])
|
||||
|
||||
def test_shift_right(self):
|
||||
self.param_index.shift_right(5, 2)
|
||||
self.assertListEqual(self.param_index[three].tolist(), [2,4,9])
|
||||
self.assertListEqual(self.param_index[two].tolist(), [0,7])
|
||||
self.assertListEqual(self.param_index[one].tolist(), [3])
|
||||
|
||||
def test_index_view(self):
|
||||
#=======================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue