Created
November 2, 2017 06:11
-
-
Save MarioPerezEsteso/c3fe27d765c2eaaa23104595dd3315fc to your computer and use it in GitHub Desktop.
MatesTest.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
@testable import Example | |
class MatesTests: XCTestCase { | |
let mates = Mates() | |
override func setUp() { | |
super.setUp() | |
} | |
override func tearDown() { | |
super.tearDown() | |
} | |
func testarSumaYMultiplicacion() { | |
let num1 = 2 | |
let num2 = 4 | |
let num3 = 6 | |
let esperado = 36 | |
let resultado = mates.SumarYMultiplicacion(num1, int2: num2, int3: num3) | |
XCTAssert(resultado == esperado) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment