fixes for Swift 6 and threading concerns
This commit is contained in:
@@ -9,6 +9,7 @@ import Testing
|
||||
|
||||
// MARK: - denormalsToZero helper
|
||||
|
||||
@MainActor
|
||||
@Suite("denormalsToZero")
|
||||
struct DenormalsToZeroTests {
|
||||
|
||||
@@ -57,6 +58,7 @@ struct DenormalsToZeroTests {
|
||||
// any computation that would produce a subnormal result is flushed to zero by the
|
||||
// hardware, so filter outputs and delay-line writes must never be subnormal.
|
||||
|
||||
@MainActor
|
||||
@Suite("FirstOrderSection — no subnormals under FTZ")
|
||||
struct FirstOrderSectionFTZTests {
|
||||
|
||||
@@ -87,6 +89,7 @@ struct FirstOrderSectionFTZTests {
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("SecondOrderSection — no subnormals under FTZ")
|
||||
struct SecondOrderSectionFTZTests {
|
||||
|
||||
@@ -115,6 +118,7 @@ struct SecondOrderSectionFTZTests {
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("RBJBandPass — no subnormals under FTZ")
|
||||
struct RBJBandPassFTZTests {
|
||||
|
||||
@@ -141,6 +145,7 @@ struct RBJBandPassFTZTests {
|
||||
}
|
||||
}
|
||||
|
||||
@MainActor
|
||||
@Suite("DelayLineFeedback — no subnormals under FTZ")
|
||||
struct DelayLineFeedbackFTZTests {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user