 
 class AKAutomationCurveTests: AKTestCase {
 
+    typealias Point = AKParameterAutomationPoint
+
     func testReplaceAutomation() {
 
         {
-            let points = [ AKParameterAutomationPoint(targetValue: 440, startTime: 0, rampDuration: 0.1),
-                           AKParameterAutomationPoint(targetValue: 880, startTime: 1, rampDuration: 0.1),
-                           AKParameterAutomationPoint(targetValue: 440, startTime: 2, rampDuration: 0.1)]
+            let points = [ Point(targetValue: 440, startTime: 0, rampDuration: 0.1),
+                           Point(targetValue: 880, startTime: 1, rampDuration: 0.1),
+                           Point(targetValue: 440, startTime: 2, rampDuration: 0.1)]
 
             let events: [(Double, AUValue)] = [ (0.5, 100), (1.5, 200) ]
 

        }();

        {
            let points: [AKParameterAutomationPoint] = [ ]

            let events: [(Double, AUValue)] = [ (0.5, 100), (1.5, 200) ]


                                                startTime: 0,
                                                stopTime: 2)

            let expected = [ Point(targetValue: 100, startTime: 0.5, rampDuration: 0.01),
                             Point(targetValue: 200, startTime: 1.5, rampDuration: 0.01)]

            XCTAssertEqual(newPoints, expected)
        }()
    }

    func testEvaluateAutomationLinear() {
        let points = [Point(targetValue: 1, startTime: 0, rampDuration: 1.0)]

        let newPoints = AKEvaluateAutomation(initialValue: 0, points: points, resolution: 0.5)

