Add a basic test of the thresholding code
This in preparation for adding a new implementation.
Change-Id: I8ef7a25607b48a1649cb2c30e121a72a600eb1e6
diff --git a/aos/vision/blob/BUILD b/aos/vision/blob/BUILD
index d22aa4d..2e77079 100644
--- a/aos/vision/blob/BUILD
+++ b/aos/vision/blob/BUILD
@@ -49,6 +49,19 @@
],
)
+cc_test(
+ name = "threshold_test",
+ srcs = [
+ "threshold_test.cc",
+ ],
+ deps = [
+ ":range_image",
+ ":threshold",
+ "//aos/testing:googletest",
+ "//aos/vision/image:image_types",
+ ],
+)
+
cc_library(
name = "hierarchical_contour_merge",
srcs = ["hierarchical_contour_merge.cc"],