Skip to content

Added Unit tests for Some Extension methods#1

Open
JubrilEdu wants to merge 3 commits intoCottaCush:masterfrom
JubrilEdu:StringTests
Open

Added Unit tests for Some Extension methods#1
JubrilEdu wants to merge 3 commits intoCottaCush:masterfrom
JubrilEdu:StringTests

Conversation

@JubrilEdu
Copy link

Added Unit tests for the String and Double primitive extension methods.

import Foundation
@testable import iOSBaseProject
class StringPrimitiveTests: XCTestCase {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, Test classes should go into different files.

// Use XCTAssert and related functions to verify your tests produce the correct results.
}

func testPerformanceExample() {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove empty testMethods.

}

func testExample() {
// This is an example of a functional test case.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants