From 144adedf2e2bfcadd2db02fb9a9d65e58a2eb1c4 Mon Sep 17 00:00:00 2001 From: Chris Hager Date: Sun, 2 Jun 2024 12:25:01 +0200 Subject: [PATCH] cleanup --- docs/adrs/202405-bidcollect.md | 2 ++ services/bidcollect/types_test.go | 13 +++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 services/bidcollect/types_test.go diff --git a/docs/adrs/202405-bidcollect.md b/docs/adrs/202405-bidcollect.md index a559e2a..9c71239 100644 --- a/docs/adrs/202405-bidcollect.md +++ b/docs/adrs/202405-bidcollect.md @@ -22,6 +22,8 @@ Run: go run . service bidcollect --out csv --data-api --ultrasound-stream ``` +Example output: https://gist.github.com/metachris/061c0443afb8b8d07eed477a848fa395 + ### Done - Ultrasound bid stream diff --git a/services/bidcollect/types_test.go b/services/bidcollect/types_test.go new file mode 100644 index 0000000..d742df1 --- /dev/null +++ b/services/bidcollect/types_test.go @@ -0,0 +1,13 @@ +package bidcollect + +import ( + "testing" + + "github.com/stretchr/testify/require" +) + +func TestSourceTypes(t *testing.T) { + require.Equal(t, 0, CollectGetHeader) + require.Equal(t, 1, CollectDataAPI) + require.Equal(t, 2, CollectUltrasoundStream) +}