ソースを参照

Fix detector test for adaptive event lifetime

master
Jan Svabenik 1日前
コミット
bfd601be31
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      internal/detector/detector_test.go

+ 1
- 1
internal/detector/detector_test.go ファイルの表示

@@ -40,7 +40,7 @@ func TestDetectorCreatesEvent(t *testing.T) {


_, _ = d.Process(now.Add(5*time.Millisecond), spectrum, center) _, _ = d.Process(now.Add(5*time.Millisecond), spectrum, center)


now2 := now.Add(30 * time.Millisecond)
now2 := now.Add(50 * time.Millisecond)
noSignal := make([]float64, len(spectrum)) noSignal := make([]float64, len(spectrum))
for i := range noSignal { for i := range noSignal {
noSignal[i] = -100 noSignal[i] = -100


読み込み中…
キャンセル
保存