feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -104,6 +104,8 @@ func TestWorkerDuration_TheShortfallNoteIsPinnedAtEightyPercentAndTwoMinutes(t *
|
|||||||
noted bool
|
noted bool
|
||||||
}{
|
}{
|
||||||
{"79 percent of an hour", 60 * time.Minute, 0.79 * 3600, true},
|
{"79 percent of an hour", 60 * time.Minute, 0.79 * 3600, true},
|
||||||
|
{"exactly 80 percent of an hour", 60 * time.Minute, 2880, false},
|
||||||
|
{"one second under 80 percent of an hour", 60 * time.Minute, 2879, true},
|
||||||
{"81 percent of an hour", 60 * time.Minute, 0.81 * 3600, false},
|
{"81 percent of an hour", 60 * time.Minute, 0.81 * 3600, false},
|
||||||
{"exactly two minutes short and under 80 percent", 6 * time.Minute, 4 * 60, false},
|
{"exactly two minutes short and under 80 percent", 6 * time.Minute, 4 * 60, false},
|
||||||
{"two minutes and a second short and under 80 percent", 6 * time.Minute, 4*60 - 1, true},
|
{"two minutes and a second short and under 80 percent", 6 * time.Minute, 4*60 - 1, true},
|
||||||
|
|||||||
Reference in New Issue
Block a user