Sesame-Server/Tests/AppTests/AppTests.swift

14 lines
258 B
Swift
Raw Normal View History

2022-01-23 20:49:06 +01:00
@testable import App
import XCTVapor
final class AppTests: XCTestCase {
2022-04-07 23:53:25 +02:00
func testEncodingUInt32() {
let input: UInt32 = 123
let data = input.encoded
let output = UInt32(data: data)
XCTAssertEqual(input, output)
}
2022-01-23 20:49:06 +01:00
}