Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

334 B
Raw Blame
import SwiftUI
@testable import Peel
import Testing

struct MotionTests {
    @Test func aNumberFadesToItsNewValueUnderReduceMotion() {
        #expect(NumberTransition.transition(to: 12, reducingMotion: true) == .opacity)
        #expect(NumberTransition.transition(to: 12, reducingMotion: false) == .numericText(value: 12))
    }
}