//
//  DCPodTests.swift
//  DCPodTests
//
//  Created by Daniel Contreras on 7/5/17.
//  Copyright © 2017 DC. All rights reserved.
//

import XCTest
@testable import DCPod

class DCPodTests: XCTestCase {
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }
    
    override func tearDown() {
        // Put teardown code here. This method is called after the invocation of each test method in the class.
        super.tearDown()
    }
    
    func testExample() {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct results.
    }
    
    func testPerformanceExample() {
        // This is an example of a performance test case.
        self.measure {
            // Put the code you want to measure the time of here.
        }
    }
    
    func testSumIntegers() {
        XCTAssertEqual(sum(a: 1, b: 2), 3)
    }
    
}

//
//  DCPodTests.swift
//  DCPodTests
//
//  Created by Daniel Contreras on 7/5/17.
//  Copyright © 2017 DC. All rights reserved.
//

import XCTest
@testable import DCPod

class DCPodTests: XCTestCase {
    
    override func setUp() {
        super.setUp()
        // Put setup code here. This method is called before the invocation of each test method in the class.
    }
    
    override func tearDown() {
        // Put teardown code here. This method is called after the invocation of each test method in the class.
        super.tearDown()
    }
    
    func testExample() {
        // This is an example of a functional test case.
        // Use XCTAssert and related functions to verify your tests produce the correct results.
    }
    
    func testPerformanceExample() {
        // This is an example of a performance test case.
        self.measure {
            // Put the code you want to measure the time of here.
        }
    }
    
}

--- 
+++ 
@@ -33,4 +33,8 @@
         }
     }
     
+    func testSumIntegers() {
+        XCTAssertEqual(sum(a: 1, b: 2), 3)
+    }
+    
 }
Add unit test for sum method.
