@@ -110,7 +110,7 @@ enum ProfileGenerator {
}
/// Direct port of the OpenAPS profile generate function
- static func generate(
+ private static func generate(
pumpSettings: PumpSettings,
bgTargets: BGTargets,
basalProfile: [BasalProfileEntry],
@@ -1,6 +1,6 @@
import Foundation
-@testable import FreeAPS
import Testing
+@testable import Trio
@Suite("JSON Compare") struct JSONCompareTests {
// Test fixtures
@@ -44,7 +44,7 @@ import Testing
let differences = try JSONCompare.differences(
function: .makeProfile,
- native: swiftJSON,
+ swift: swiftJSON,
javascript: jsJSON
)