Skip to content

Instantly share code, notes, and snippets.

@MarioPerezEsteso
Created November 2, 2017 06:11
Show Gist options
  • Save MarioPerezEsteso/c3fe27d765c2eaaa23104595dd3315fc to your computer and use it in GitHub Desktop.
Save MarioPerezEsteso/c3fe27d765c2eaaa23104595dd3315fc to your computer and use it in GitHub Desktop.
MatesTest.swift
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