From 9f4179f9f61ccece00b5cca78cca71068c95e56f Mon Sep 17 00:00:00 2001 From: Kaushal Kapasi Date: Tue, 17 Sep 2024 12:10:49 -0400 Subject: [PATCH] chore: update BucketingDistribution bucketing test to include percentages with 4 decimal places --- bucketing/bucketing_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bucketing/bucketing_test.go b/bucketing/bucketing_test.go index cca2ecf9..636abf29 100644 --- a/bucketing/bucketing_test.go +++ b/bucketing/bucketing_test.go @@ -178,11 +178,11 @@ func TestUserHashingBucketing_BucketingDistribution(t *testing.T) { Distribution: []TargetDistribution{ { Variation: "var1", - Percentage: 0.25, + Percentage: 0.2555, }, { Variation: "var2", - Percentage: 0.45, + Percentage: 0.4445, }, { Variation: "var3",