        (pf/state-add-neighbour
         (pf/->state #{} #{} {} {} {})
         [0 0]
-        [1 1])
-       (pf/->state #{} #{[1 1]} {[1 1] [0 0]} {} {}))))
+        [1 1]
+        [10 10])
+       (pf/->state #{} #{[1 1]} {[1 1] [0 0]}
+                   {[1 1] 14}
+                   {[1 1] 180}
+                   ))))
 
 (deftest state-add-open-test
   (is (=

         [1 -1] [0 0]
         [-1 -1] [0 0]
         }
        {} {}))))

(deftest calculate-open-fscore-test
  (let [{:keys [g-score f-score]}

       (pf/reduce-state-over-neighbours
        (pf/->state #{} #{[0 0]} {} {} {})
        [0 0]
        [[0 1] [0 -1] [1 0] [-1 0] [1 1] [-1 1] [1 -1] [-1 -1]]
        [10 10])
       (pf/->state
        #{}
        #{[0 0] [0 1] [0 -1] [1 0] [-1 0] [1 1] [-1 1] [1 -1] [-1 -1]}
