//
//  UIImageTests.swift
//  Astro
//
//  Created by Jason Voll on 2016-09-30.
//  Copyright © 2016 Mobify Research & Development Inc. All rights reserved.
//

import XCTest
@testable import Astro

class UIImageTests: AstroTestCase {

    func testTintWithColor() {
        let bundle = Bundle(for: type(of: self))
        guard let image = UIImage(named: "astro-logo", in: bundle, compatibleWith: nil) else {
            XCTFail("Couldn't create image from bundle")
            return
        }
        // Verify the force unwrap in tintWithColor doesn't fail
        let _ = image.withTint(UIColor.blue)
    }
}
