 ;
 
 (ns clj-calendar.calendar-test
-    (:require [clojure.test :refer :all]
+    (:require [clojure.test          :refer :all]
               [clj-calendar.calendar :refer :all]))
 
 

;
;  (C) Copyright 2015, 2016  Pavel Tisnovsky
;
;  All rights reserved. This program and the accompanying materials
;  are made available under the terms of the Eclipse Public License v1.0

            (is (<=  (.get calendar (java.util.Calendar/MILLISECOND)) 1000)))
))

(deftest test-get-calendar-6
    "Check the function clj-calendar.calendar/get-calendar."
    (testing "the function clj-calendar.calendar/get-calendar."
        (let [calendar (get-calendar)]
            (.set calendar 0 01 01 10 20 30)
            (is (=  (.get calendar (java.util.Calendar/HOUR)) 10))
            (is (=  (.get calendar (java.util.Calendar/MINUTE)) 20))
            (is (=  (.get calendar (java.util.Calendar/SECOND)) 30)))
))

(deftest test-get-calendar-7
    "Check the function clj-calendar.calendar/get-calendar."
    (testing "the function clj-calendar.calendar/get-calendar."
        (let [calendar (get-calendar)]
            (.set calendar 0 01 01 10 20 30)
            (is (>=  (.get calendar (java.util.Calendar/MILLISECOND)) 0))
            (is (<=  (.get calendar (java.util.Calendar/MILLISECOND)) 1000)))
))

(deftest test-format-date-using-desired-format
    "Check the function clj-calendar.calendar/format-date-using-desired-format"
    (testing "the function clj-calendar.calendar/format-date-using-desired-format."
