2019-05-08 06:44:12 -07:00
|
|
|
//
|
|
|
|
// ZcashLightClientKitTests.swift
|
|
|
|
// ZcashLightClientKitTests
|
|
|
|
//
|
|
|
|
// Created by Jack Grigg on 5/8/19.
|
|
|
|
// Copyright © 2019 Electric Coin Company. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
import XCTest
|
|
|
|
@testable import ZcashLightClientKit
|
|
|
|
|
|
|
|
class ZcashLightClientKitTests: XCTestCase {
|
|
|
|
|
|
|
|
override func setUp() {
|
|
|
|
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
|
|
}
|
|
|
|
|
|
|
|
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.
|
2019-05-08 07:47:12 -07:00
|
|
|
XCTAssert(ZcashRustBackend.getLastError() == nil)
|
2019-05-08 06:44:12 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
func testPerformanceExample() {
|
|
|
|
// This is an example of a performance test case.
|
|
|
|
self.measure {
|
|
|
|
// Put the code you want to measure the time of here.
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|