1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
silica-viewer/Silica ViewerTests/Silica_ViewerTests.swift

36 lines
668 B
Swift
Raw Normal View History

//
// Silica_ViewerTests.swift
// Silica ViewerTests
//
// Created by Joshua on 2/14/22.
// Copyright © 2022 Josh. All rights reserved.
//
import XCTest
@testable import Silica_Viewer
class Silica_ViewerTests: XCTestCase {
let document = Document()
override func setUpWithError() throws {
}
override func tearDownWithError() throws {
}
func testExample() throws {
XCTAssert(document.parsePairString("{-1, -1}")! == (-1, -1))
XCTAssert(document.parsePairString("{255, 255}")! == (255, 255))
XCTAssert(document.parsePairString("{255}") == nil)
}
func testPerformanceExample() throws {
}
}