From 42e9139e4b193fb946807abec782d6609821762b Mon Sep 17 00:00:00 2001 From: diegohce Date: Thu, 3 Oct 2024 11:52:13 -0300 Subject: [PATCH] fixed func name typo in tests --- objdetect_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/objdetect_test.go b/objdetect_test.go index a3a33962..33ecf5da 100644 --- a/objdetect_test.go +++ b/objdetect_test.go @@ -235,7 +235,7 @@ func TestFaceDetectorYN(t *testing.T) { } fd.SetInputSize(sz) - t1 := fd.GetMNSThreshold() + t1 := fd.GetNMSThreshold() fd.SetNMSThreshold(t1) t2 := fd.GetScoreThreshold() @@ -272,7 +272,7 @@ func TestFaceDetectorYNWithParams(t *testing.T) { } fd.SetInputSize(sz) - t1 := fd.GetMNSThreshold() + t1 := fd.GetNMSThreshold() fd.SetNMSThreshold(t1) t2 := fd.GetScoreThreshold() @@ -315,7 +315,7 @@ func TestFaceDetectorYNFromBytes(t *testing.T) { } fd.SetInputSize(sz) - t1 := fd.GetMNSThreshold() + t1 := fd.GetNMSThreshold() fd.SetNMSThreshold(t1) t2 := fd.GetScoreThreshold() @@ -357,7 +357,7 @@ func TestFaceDetectorYNFromBytesWithParams(t *testing.T) { } fd.SetInputSize(sz) - t1 := fd.GetMNSThreshold() + t1 := fd.GetNMSThreshold() fd.SetNMSThreshold(t1) t2 := fd.GetScoreThreshold()