Added superstructure test fixture.
This only tests the hood right now. It needs to be split out into a
fixture and test cases file, and needs support for the other
subsystems.
Change-Id: I23bfbbc4c502939af6d388703771bcc340c4ffea
diff --git a/y2017/control_loops/superstructure/BUILD b/y2017/control_loops/superstructure/BUILD
index de419c8..00f8a2c 100644
--- a/y2017/control_loops/superstructure/BUILD
+++ b/y2017/control_loops/superstructure/BUILD
@@ -29,3 +29,21 @@
'//y2017:constants',
],
)
+
+cc_test(
+ name = 'superstructure_lib_test',
+ srcs = [
+ 'superstructure_lib_test.cc',
+ ],
+ deps = [
+ ':superstructure_queue',
+ ':superstructure_lib',
+ '//aos/testing:googletest',
+ '//aos/common:queues',
+ '//aos/common/controls:control_loop_test',
+ '//aos/common:math',
+ '//aos/common:time',
+ '//frc971/control_loops:position_sensor_sim',
+ '//frc971/control_loops:team_number_test_environment',
+ ],
+)