FBScreenTests.m 618 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * Copyright (c) 2015-present, Facebook, Inc.
  3. * All rights reserved.
  4. *
  5. * This source code is licensed under the BSD-style license found in the
  6. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. */
  9. #import <XCTest/XCTest.h>
  10. #import "FBIntegrationTestCase.h"
  11. #import "FBScreen.h"
  12. @interface FBScreenTests : FBIntegrationTestCase
  13. @end
  14. @implementation FBScreenTests
  15. - (void)setUp
  16. {
  17. [super setUp];
  18. [self launchApplication];
  19. }
  20. - (void)testScreenScale
  21. {
  22. XCTAssertTrue([FBScreen scale] >= 2);
  23. }
  24. @end