Skip to content

Commit

Permalink
[Test] #178 RxTest 미활용 코드 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Parkjju committed Oct 20, 2023
1 parent 381c455 commit e44fea0
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions Milestone/MilestoneTests/SampleTest.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
//
// SampleTest.swift
// MilestoneTests
//
// Created by 박경준 on 2023/10/20.
//

import XCTest
@testable import Milestone

final class SampleTest: XCTestCase {

func testSample() {
// Given (Arrange)
let lhs = 100
let rhs = 200

// When (Act)
let vm = CompletionViewModel()
let result = vm.sample(lhs: lhs, rhs: rhs)

// Then (Assert)
XCTAssertEqual(result, 300)
}
}

0 comments on commit e44fea0

Please sign in to comment.