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.

393 B
Raw Blame
import Foundation
@testable import PeelCore
import Testing

struct MenuBarPanelRoomTests {
    @Test func fitsTheDisplayWithTheLeastRoom() {
        #expect(MenuBarPanelRoom.height(within: [959, 629]) == 621)
        #expect(MenuBarPanelRoom.height(within: [923]) == 915)
    }

    @Test func setsNoBoundWithoutADisplay() {
        #expect(MenuBarPanelRoom.height(within: []) == nil)
    }
}