-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathConstant.swift
More file actions
39 lines (31 loc) · 1.27 KB
/
Constant.swift
File metadata and controls
39 lines (31 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//=----------------------------------------------------------------------------=
// This source file is part of the DiffableTextViews open source project.
//
// Copyright (c) 2022 Oscar Byström Ericsson
// Licensed under Apache License, Version 2.0
//
// See http://www.apache.org/licenses/LICENSE-2.0 for license information.
//=----------------------------------------------------------------------------=
#if DEBUG
@testable import DiffableTextKit
import XCTest
//*============================================================================*
// MARK: * Constant x Tests
//*============================================================================*
final class ConstantTextStyleTests: XCTestCase {
//=------------------------------------------------------------------------=
// MARK: Tests
//=------------------------------------------------------------------------=
func test() {
//=--------------------------------------=
// Setup
//=--------------------------------------=
let mock0 = Mock(locale: en_US).constant()
let mock1 = mock0.locale(sv_SE)
//=--------------------------------------=
// Assert
//=--------------------------------------=
XCTAssertEqual(mock0, mock1)
}
}
#endif