blob: 1c57ae28fe26c43e02457f560747b99f31bdd0e9 [file] [log] [blame]
James Kuszmaul469fd4e2020-01-01 15:49:10 -08001#!/usr/bin/python3
2import unittest
3
4import matplotlib
5# Use a non-interactive backend so that the test can actually run...
6matplotlib.use('Agg')
7
8import frc971.analysis.plot
9
10
11class PlotterTest(unittest.TestCase):
12 def test_plotter(self):
13 """Basic test that makes sure that we can run the test without crashing."""
14 self.assertEqual(0,
15 frc971.analysis.plot.main([
16 "binary", "--logfile",
17 "external/sample_logfile/file/log.fbs",
18 "--config", "gyro.pb"
19 ]))
20
21
22if __name__ == '__main__':
23 unittest.main()