コード例 #1
0
def test_rats():
    """ Test that "rats" data can be loaded. """
    rats = data.rats()
    assert rats.size == 36
    assert len(rats.dtype) == 19
コード例 #2
0
ファイル: test_data.py プロジェクト: jarrodmillman/permute
def test_rats():
    """ Test that "rats" data can be loaded. """
    rats = data.rats()
    assert_equal(rats.size, 36)
    assert_equal(len(rats.dtype), 19)
コード例 #3
0
def test_rats():
    """ Test that "rats" data can be loaded. """
    rats = data.rats()
    assert_equal(rats.shape, (36, 19))
コード例 #4
0
def test_rats():
    """ Test that "rats" data can be loaded. """
    rats = data.rats()
    assert_equal(rats.size, 36)
    assert_equal(len(rats.dtype), 19)