Skip to content

Commit

Permalink
Remove test
Browse files Browse the repository at this point in the history
  • Loading branch information
LcTwisk committed Jun 30, 2017
1 parent 404544d commit 8e444b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions SimpleImageViewer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@
A08B781E1EF16CCF00F8C5BC /* ImageViewerController */ = {
isa = PBXGroup;
children = (
A07E76ED1ECC959700B77D46 /* ImageViewerController.xib */,
A07E76EB1ECC94EA00B77D46 /* ImageViewerController.swift */,
A05E9FA41EF7FB640024CF47 /* ImageViewerConfiguration.swift */,
A07E76EB1ECC94EA00B77D46 /* ImageViewerController.swift */,
A07E76ED1ECC959700B77D46 /* ImageViewerController.xib */,
);
name = ImageViewerController;
sourceTree = "<group>";
Expand Down
9 changes: 0 additions & 9 deletions SimpleImageViewerTests/UtilitiesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,4 @@ class UtilitiesTests: XCTestCase {
XCTAssertEqual(expectedBottomRightForLandscape, Utilities.bottomRight(forSize: landscape, insideSize: screenRect.size))
XCTAssertEqual(expectedBottomRightForPortrait, Utilities.bottomRight(forSize: portrait, insideSize: screenRect.size))
}

/* */

func test_shouldCalculateWhereTheBottomRightEndsUp(){
let portrait = CGSize(width: 900, height: 1600)
let expectedBottomRightForPortrait = CGPoint(x: 190, y: 160)

XCTAssertEqual(expectedBottomRightForPortrait, Utilities.bottomRight(forSize: portrait, insideSize: screenRect.size))
}
}

0 comments on commit 8e444b4

Please sign in to comment.