14 lines
258 B
Swift
14 lines
258 B
Swift
@testable import App
|
|
import XCTVapor
|
|
|
|
final class AppTests: XCTestCase {
|
|
|
|
func testEncodingUInt32() {
|
|
let input: UInt32 = 123
|
|
let data = input.encoded
|
|
let output = UInt32(data: data)
|
|
XCTAssertEqual(input, output)
|
|
}
|
|
|
|
}
|