// ----------------------------------------------------------------------------
//
//  CheckTests.LessThan.swift
//
//  @author     Alexander Bragin <bragin-av@roxiemobile.com>
//  @copyright  Copyright (c) 2017, Roxie Mobile Ltd. All rights reserved.
//  @link       https://www.roxiemobile.com/
//
// ----------------------------------------------------------------------------

@testable import SwiftCommonsDiagnostics
import XCTest

// ----------------------------------------------------------------------------

extension CheckTests {

// MARK: - Tests

    func testLessThan() {
        let method = "Check.lessThan"

        checkThrowsError(method) {
            try Check.lessThan(2, 1)
        }
        checkThrowsError(method) {
            try Check.lessThan(2, 2)
        }

        checkNotThrowsError(method) {
            try Check.lessThan(1, 2)
        }
    }
}
