//
// 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)
XCTAssert(document.parseChunkFilename("1~1.chunk")! == (1, 2))
XCTAssert(document.parseChunkFilename("10~2.chunk")! == (10, 3))
XCTAssert(document.parseChunkFilename("~1.chunk") == nil)
func testPerformanceExample() throws {