Permalink
Browse files

Removed debug output

  • Loading branch information...
1 parent 181d4bc commit 2003f865e9ffe0c3207f50af8ae9ccc60ac312b9 @kjellwinblad kjellwinblad committed with yiannist Nov 7, 2012
Showing with 9 additions and 11 deletions.
  1. +3 −5 bench/moves/src/moves.erl
  2. +6 −6 bench/moves/src/moves_par.erl
@@ -13,8 +13,6 @@ bench_args(Version, _) ->
run(Tests, _, _) ->
lists:foreach(
fun (String) ->
- io:format("Start calulating ~p ~n", [String]),
- moves_par:moves(String),
- io:format("Stop calulating ~p ~n", [String])
- end
- , Tests).
+ moves_par:moves(String)
+ end,
+ Tests).
@@ -217,8 +217,8 @@ has_blocker(Array,Pos) ->
false;
false ->
(array:get(Pos -1, Array) =:= ?BLACK) andalso
- (array:get(Pos + 1, Array) =:= ?WHITE) andalso
- (array:get(Pos + 2, Array) =:= ?WHITE)
+ (array:get(Pos + 1, Array) =:= ?WHITE) andalso
+ (array:get(Pos + 2, Array) =:= ?WHITE)
end;
_ ->
false
@@ -231,8 +231,8 @@ has_start_blocker(Array) ->
false;
false ->
(array:get(0, Array) =:= ?BLACK) andalso
- (array:get(1, Array) =:= ?WHITE) andalso
- (array:get(2, Array) =:= ?WHITE)
+ (array:get(1, Array) =:= ?WHITE) andalso
+ (array:get(2, Array) =:= ?WHITE)
end.
has_end_blocker(Array) ->
@@ -242,8 +242,8 @@ has_end_blocker(Array) ->
false;
false ->
(array:get(Size -3, Array) =:= ?BLACK) andalso
- (array:get(Size -2, Array) =:= ?BLACK) andalso
- (array:get(Size -1, Array) =:= ?WHITE)
+ (array:get(Size -2, Array) =:= ?BLACK) andalso
+ (array:get(Size -1, Array) =:= ?WHITE)
end.

0 comments on commit 2003f86

Please sign in to comment.