mirror of
https://github.com/xushoucai/RTL8710_SDK_GCC_VERSION.git
synced 2024-11-28 09:10:30 +00:00
1d3357d3b0
including cross compilation of the installation, compile, link, run, debug, and so on. SDK implementation of the function: 1, WiFi connection settings (including AP mode and STA mode). 2, peripheral resource control (including GPIO, SPI, UART, IIC, etc.). 3, the user uses the sample method.
36 lines
901 B
Swift
36 lines
901 B
Swift
//
|
|
// WiGadgetTests.swift
|
|
// WiGadgetTests
|
|
//
|
|
// Created by WU JINZHOU on 23/7/15.
|
|
// Copyright (c) 2015 WU JINZHOU. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import XCTest
|
|
|
|
class WiGadgetTests: XCTestCase {
|
|
|
|
override func setUp() {
|
|
super.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.
|
|
super.tearDown()
|
|
}
|
|
|
|
func testExample() {
|
|
// This is an example of a functional test case.
|
|
XCTAssert(true, "Pass")
|
|
}
|
|
|
|
func testPerformanceExample() {
|
|
// This is an example of a performance test case.
|
|
self.measureBlock() {
|
|
// Put the code you want to measure the time of here.
|
|
}
|
|
}
|
|
|
|
}
|