From 83fbd06f313322598fc0db61e9a3271eacd8fca9 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Tue, 16 Mar 2021 11:35:21 +0800 Subject: [PATCH] update test --- src/experimental/tiles_wfc.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/experimental/tiles_wfc.scad b/src/experimental/tiles_wfc.scad index be51794b..2ea51619 100644 --- a/src/experimental/tiles_wfc.scad +++ b/src/experimental/tiles_wfc.scad @@ -217,4 +217,4 @@ for(y = [0:height - 1]) { } assert(wf_entropy(wf, 0, 0) == 1.458879520793018); assert(wf_coord_min_entropy(wf_collapse(wf, 0, 0)) != [0, 0]); -echo(neighbor_compatibilities(sample, 0, 0, width, height)); \ No newline at end of file +assert(neighbor_compatibilities(sample, 0, 0, width, height) == [["S", "S", [1, 0]], ["S", "S", [0, 1]]]); \ No newline at end of file