
from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

import numpy as np
from numpy.testing import assert_equal

import mousestyles.data as data


def test_all_features_mousedays_11bins():
    all_features = data.all_feature_data()
    print(all_features.shape)




from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

import numpy as np
from numpy.testing import assert_equal

import mousestyles.data as data


def test_all_features_loader():
    all_features = data.load_all_features()
    assert_equal(all_features.shape, (21131, 13))



Test for new data loader
TST: Test for new data loader

Just a start, should probably add a more detailed test later.

  
  from __future__ import (absolute_import, division, print_function,
                          unicode_literals)
  
  import numpy as np
  from numpy.testing import assert_equal
  
  import mousestyles.data as data
  
  
- def test_all_features_mousedays_11bins():
+ def test_all_features_loader():
-     all_features = data.all_feature_data()
+     all_features = data.load_all_features()
-     print(all_features.shape)
+     assert_equal(all_features.shape, (21131, 13))
  
  
  
Test for new data loader
## Code Before:

from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

import numpy as np
from numpy.testing import assert_equal

import mousestyles.data as data


def test_all_features_mousedays_11bins():
    all_features = data.all_feature_data()
    print(all_features.shape)



## Instruction:
Test for new data loader
## Code After:

from __future__ import (absolute_import, division, print_function,
                        unicode_literals)

import numpy as np
from numpy.testing import assert_equal

import mousestyles.data as data


def test_all_features_loader():
    all_features = data.load_all_features()
    assert_equal(all_features.shape, (21131, 13))


