mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
♻️ :: Update // MARK: - statements
This commit is contained in:
@@ -13,6 +13,7 @@ import LightweightObservable
|
||||
|
||||
// swiftlint:disable:next type_name
|
||||
final class GradientActivityIndicatorViewModelTestCase: XCTestCase {
|
||||
|
||||
// MARK: - Private properties
|
||||
|
||||
private var viewModel: GradientActivityIndicatorViewModel!
|
||||
@@ -166,9 +167,10 @@ final class GradientActivityIndicatorViewModelTestCase: XCTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Helpers
|
||||
// MARK: - Helper
|
||||
|
||||
extension GradientActivityIndicatorViewModelTestCase {
|
||||
|
||||
private func makeGradientLayerColors() -> [CGColor] {
|
||||
let gradientColors = [
|
||||
#colorLiteral(red: 0.2980392157, green: 0.8509803922, blue: 0.3921568627, alpha: 1), #colorLiteral(red: 0.3529411765, green: 0.7843137255, blue: 0.9803921569, alpha: 1), #colorLiteral(red: 0, green: 0.4784313725, blue: 1, alpha: 1), #colorLiteral(red: 0.2039215686, green: 0.6666666667, blue: 0.862745098, alpha: 1), #colorLiteral(red: 0.3450980392, green: 0.337254902, blue: 0.8392156863, alpha: 1), #colorLiteral(red: 1, green: 0.1764705882, blue: 0.3333333333, alpha: 1),
|
||||
|
||||
@@ -13,6 +13,7 @@ import SwiftUI
|
||||
|
||||
// swiftlint:disable:next type_name
|
||||
final class GradientLoadingBarView_ViewModelTestCase: XCTestCase {
|
||||
|
||||
// MARK: - Test property `gradientColors`
|
||||
|
||||
func test_initialGradientColors_shouldIncludeReversedGradientColors() {
|
||||
|
||||
@@ -12,6 +12,7 @@ import LightweightObservable
|
||||
@testable import GradientLoadingBar
|
||||
|
||||
final class GradientLoadingBarViewModelTestCase: XCTestCase {
|
||||
|
||||
// MARK: - Private properties
|
||||
|
||||
private var sharedApplicationMock: SharedApplicationMock!
|
||||
|
||||
Reference in New Issue
Block a user