(self)
| 94 | self.assertLess(end - start, .3) |
| 95 | |
| 96 | def test_data_missing_columns(self): |
| 97 | df = GOOG.copy(deep=False) |
| 98 | del df['Open'] |
| 99 | with self.assertRaises(ValueError): |
| 100 | Backtest(df, SmaCross).run() |
| 101 | |
| 102 | def test_data_nan_columns(self): |
| 103 | df = GOOG.copy() |