def test_load_yaafe_csv_stats(self): timestamps, features = Util.load_yaafe_csv(self.stats_csv) self.assertEqual((17, 2), features.shape) self.assertEqual(11.145578231292516, timestamps[-1])
def test_load_yaafe_csv_double_stats(self): timestamps, features = Util.load_yaafe_csv(self.double_stats_csv) self.assertEqual((17, 2), features.shape) self.assertEqual(334.3673469387755, timestamps[-1])
def test_load_yaafe_csv_no_stats(self): timestamps, features = Util.load_yaafe_csv(self.no_stats_csv) self.assertEqual((17, 2), features.shape) self.assertEqual(0.37151927437641724, timestamps[-1])