Add SnappyEncoder/Decoder

The encoder/decoder should work. Haven't actually hooked it into the log
namer yet, though.

Change-Id: Id20be8161d46fe080f89eee8032103977574e7ad
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/aos/events/logging/snappy_encoder_test.cc b/aos/events/logging/snappy_encoder_test.cc
new file mode 100644
index 0000000..3334602
--- /dev/null
+++ b/aos/events/logging/snappy_encoder_test.cc
@@ -0,0 +1,20 @@
+#include "aos/events/logging/snappy_encoder.h"
+
+#include "aos/events/logging/buffer_encoder_param_test.h"
+#include "aos/util/file.h"
+#include "gmock/gmock.h"
+#include "gtest/gtest.h"
+
+namespace aos::logger::testing {
+
+INSTANTIATE_TEST_SUITE_P(
+    Snappy, BufferEncoderTest,
+    ::testing::Combine(::testing::Values([]() {
+                         return std::make_unique<SnappyEncoder>();
+                       }),
+                       ::testing::Values([](std::string_view filename) {
+                         return std::make_unique<SnappyDecoder>(filename);
+                       }),
+                       ::testing::Range(0, 100)));
+
+}  // namespace aos::logger::testing