From f97f05d63e41822a0d21aa11f41e4e9f3c0f87e4 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Wed, 7 Feb 2024 12:46:57 +0100 Subject: [PATCH] start writing the missing tests --- internal/engine/experiment_test.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/internal/engine/experiment_test.go b/internal/engine/experiment_test.go index e8f5112d3b..ed41c3495d 100644 --- a/internal/engine/experiment_test.go +++ b/internal/engine/experiment_test.go @@ -73,3 +73,12 @@ func TestExperimentHonoursSharingDefaults(t *testing.T) { }) } } + +func TestExperimentMeasurementSummaryKeysNotImplemented(t *testing.T) { + t.Run("the .Anomaly method returns false", func(t *testing.T) { + sk := &ExperimentMeasurementSummaryKeysNotImplemented{} + if sk.Anomaly() != false { + t.Fatal("expected false") + } + }) +}