     @IBOutlet weak var runTestButton: UIButton!
     
     var testLogicSource:Test?
-    var testPercentage:Double = 0.0
+    var testScoreFraction:Double = 0.0
     
     override func viewDidLoad() {
         super.viewDidLoad()

    
    func completeData() {
        if let testLogic = testLogicSource {
            
            let cardsResult = testLogic.cardsAnsweredAndPossible()
            
            self.testPercentage = Double(cardsResult.0 / cardsResult.1)
            let percentageString = String(format:"%.2f", testPercentage)
            
            scoreLabel.font = UIFont.sbFont(size: sbFontSizeLarge, bold: true)
            scoreLabel.text = "\(cardsResult.0) / \(cardsResult.1)\n" + percentageString + " %"
            
            switch testLogic.testType {
            case .Learn:

        view.addSubview(progress)
        
        //Convert float to degree angle
        let percentageAngle = Int(self.testScoreFraction*360)

        //Delay the animation by 1 second
        let triggerTime = (Int64(NSEC_PER_SEC) * 1)
