|
//
// PaiaiDataKitTests.swift
// PaiaiDataKitTests
//
// Created by ffib on 2019/1/16.
// Copyright © 2019 yb. All rights reserved.
//
import XCTest
@testable import PaiaiDataKit
class PaiaiDataKitTests: XCTestCase {
override func setUp() {
// Put setup code here. This method is called before the invocation of each test method in the class.
let status = StatusModel.init(json: ["data": {} as AnyObject, "status": 200 as AnyObject, "message": "Delete Message Success" as AnyObject, "description": "消息删除成功" as AnyObject])
XCTAssert(status.status == 200, "fail")
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
}
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.
}
}
}
|