diff --git a/test/bp/feature_rules/aggregate_feature_placement.json b/test/files/bp/feature_rules/aggregate_feature_placement.json similarity index 100% rename from test/bp/feature_rules/aggregate_feature_placement.json rename to test/files/bp/feature_rules/aggregate_feature_placement.json diff --git a/test/bp/feature_rules/beards_and_shavers_feature_placement.json b/test/files/bp/feature_rules/beards_and_shavers_feature_placement.json similarity index 100% rename from test/bp/feature_rules/beards_and_shavers_feature_placement.json rename to test/files/bp/feature_rules/beards_and_shavers_feature_placement.json diff --git a/test/bp/feature_rules/cave_carver_feature_placement.json b/test/files/bp/feature_rules/cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/cave_carver_feature_placement.json rename to test/files/bp/feature_rules/cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/conditional_list_feature_placement.json b/test/files/bp/feature_rules/conditional_list_feature_placement.json similarity index 100% rename from test/bp/feature_rules/conditional_list_feature_placement.json rename to test/files/bp/feature_rules/conditional_list_feature_placement.json diff --git a/test/bp/feature_rules/geode_feature_placement.json b/test/files/bp/feature_rules/geode_feature_placement.json similarity index 100% rename from test/bp/feature_rules/geode_feature_placement.json rename to test/files/bp/feature_rules/geode_feature_placement.json diff --git a/test/bp/feature_rules/growing_plant_feature_placement.json b/test/files/bp/feature_rules/growing_plant_feature_placement.json similarity index 100% rename from test/bp/feature_rules/growing_plant_feature_placement.json rename to test/files/bp/feature_rules/growing_plant_feature_placement.json diff --git a/test/bp/feature_rules/hell_cave_carver_feature_placement.json b/test/files/bp/feature_rules/hell_cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/hell_cave_carver_feature_placement.json rename to test/files/bp/feature_rules/hell_cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/multiface_feature_placement.json b/test/files/bp/feature_rules/multiface_feature_placement.json similarity index 100% rename from test/bp/feature_rules/multiface_feature_placement.json rename to test/files/bp/feature_rules/multiface_feature_placement.json diff --git a/test/bp/feature_rules/ore_feature_placement.json b/test/files/bp/feature_rules/ore_feature_placement.json similarity index 100% rename from test/bp/feature_rules/ore_feature_placement.json rename to test/files/bp/feature_rules/ore_feature_placement.json diff --git a/test/bp/feature_rules/rect_layout_feature_placement.json b/test/files/bp/feature_rules/rect_layout_feature_placement.json similarity index 100% rename from test/bp/feature_rules/rect_layout_feature_placement.json rename to test/files/bp/feature_rules/rect_layout_feature_placement.json diff --git a/test/bp/feature_rules/scan_surface_feature_placement.json b/test/files/bp/feature_rules/scan_surface_feature_placement.json similarity index 100% rename from test/bp/feature_rules/scan_surface_feature_placement.json rename to test/files/bp/feature_rules/scan_surface_feature_placement.json diff --git a/test/bp/feature_rules/scatter_feature_placement.json b/test/files/bp/feature_rules/scatter_feature_placement.json similarity index 100% rename from test/bp/feature_rules/scatter_feature_placement.json rename to test/files/bp/feature_rules/scatter_feature_placement.json diff --git a/test/bp/feature_rules/search_feature_placement.json b/test/files/bp/feature_rules/search_feature_placement.json similarity index 100% rename from test/bp/feature_rules/search_feature_placement.json rename to test/files/bp/feature_rules/search_feature_placement.json diff --git a/test/bp/feature_rules/sequence_feature_placement.json b/test/files/bp/feature_rules/sequence_feature_placement.json similarity index 100% rename from test/bp/feature_rules/sequence_feature_placement.json rename to test/files/bp/feature_rules/sequence_feature_placement.json diff --git a/test/bp/feature_rules/tree_feature_placement.json b/test/files/bp/feature_rules/tree_feature_placement.json similarity index 100% rename from test/bp/feature_rules/tree_feature_placement.json rename to test/files/bp/feature_rules/tree_feature_placement.json diff --git a/test/bp/feature_rules/underwater_cave_carver_feature_placement.json b/test/files/bp/feature_rules/underwater_cave_carver_feature_placement.json similarity index 100% rename from test/bp/feature_rules/underwater_cave_carver_feature_placement.json rename to test/files/bp/feature_rules/underwater_cave_carver_feature_placement.json diff --git a/test/bp/feature_rules/vegetation_patch_feature_placement.json b/test/files/bp/feature_rules/vegetation_patch_feature_placement.json similarity index 100% rename from test/bp/feature_rules/vegetation_patch_feature_placement.json rename to test/files/bp/feature_rules/vegetation_patch_feature_placement.json diff --git a/test/bp/feature_rules/weighted_random_feature_placement.json b/test/files/bp/feature_rules/weighted_random_feature_placement.json similarity index 100% rename from test/bp/feature_rules/weighted_random_feature_placement.json rename to test/files/bp/feature_rules/weighted_random_feature_placement.json diff --git a/test/bp/features/aggregate_feature.json b/test/files/bp/features/aggregate_feature.json similarity index 100% rename from test/bp/features/aggregate_feature.json rename to test/files/bp/features/aggregate_feature.json diff --git a/test/bp/features/aggregate_feature_obsidian.json b/test/files/bp/features/aggregate_feature_obsidian.json similarity index 100% rename from test/bp/features/aggregate_feature_obsidian.json rename to test/files/bp/features/aggregate_feature_obsidian.json diff --git a/test/bp/features/aggregate_feature_planks.json b/test/files/bp/features/aggregate_feature_planks.json similarity index 100% rename from test/bp/features/aggregate_feature_planks.json rename to test/files/bp/features/aggregate_feature_planks.json diff --git a/test/bp/features/aggregate_feature_planks_placement.json b/test/files/bp/features/aggregate_feature_planks_placement.json similarity index 100% rename from test/bp/features/aggregate_feature_planks_placement.json rename to test/files/bp/features/aggregate_feature_planks_placement.json diff --git a/test/bp/features/beards_and_shavers_feature.json b/test/files/bp/features/beards_and_shavers_feature.json similarity index 100% rename from test/bp/features/beards_and_shavers_feature.json rename to test/files/bp/features/beards_and_shavers_feature.json diff --git a/test/bp/features/beards_and_shavers_feature_obsidian.json b/test/files/bp/features/beards_and_shavers_feature_obsidian.json similarity index 100% rename from test/bp/features/beards_and_shavers_feature_obsidian.json rename to test/files/bp/features/beards_and_shavers_feature_obsidian.json diff --git a/test/bp/features/cave_carver_feature.json b/test/files/bp/features/cave_carver_feature.json similarity index 100% rename from test/bp/features/cave_carver_feature.json rename to test/files/bp/features/cave_carver_feature.json diff --git a/test/bp/features/conditional_list_feature.json b/test/files/bp/features/conditional_list_feature.json similarity index 100% rename from test/bp/features/conditional_list_feature.json rename to test/files/bp/features/conditional_list_feature.json diff --git a/test/bp/features/conditional_list_feature_obsidian.json b/test/files/bp/features/conditional_list_feature_obsidian.json similarity index 100% rename from test/bp/features/conditional_list_feature_obsidian.json rename to test/files/bp/features/conditional_list_feature_obsidian.json diff --git a/test/bp/features/geode_feature.json b/test/files/bp/features/geode_feature.json similarity index 100% rename from test/bp/features/geode_feature.json rename to test/files/bp/features/geode_feature.json diff --git a/test/bp/features/growing_plant_feature.json b/test/files/bp/features/growing_plant_feature.json similarity index 100% rename from test/bp/features/growing_plant_feature.json rename to test/files/bp/features/growing_plant_feature.json diff --git a/test/bp/features/hell_cave_carver_feature.json b/test/files/bp/features/hell_cave_carver_feature.json similarity index 100% rename from test/bp/features/hell_cave_carver_feature.json rename to test/files/bp/features/hell_cave_carver_feature.json diff --git a/test/bp/features/multiface_feature.json b/test/files/bp/features/multiface_feature.json similarity index 100% rename from test/bp/features/multiface_feature.json rename to test/files/bp/features/multiface_feature.json diff --git a/test/bp/features/multiface_feature_obsidian.json b/test/files/bp/features/multiface_feature_obsidian.json similarity index 100% rename from test/bp/features/multiface_feature_obsidian.json rename to test/files/bp/features/multiface_feature_obsidian.json diff --git a/test/bp/features/ore_feature.json b/test/files/bp/features/ore_feature.json similarity index 100% rename from test/bp/features/ore_feature.json rename to test/files/bp/features/ore_feature.json diff --git a/test/bp/features/rect_layout_feature.json b/test/files/bp/features/rect_layout_feature.json similarity index 100% rename from test/bp/features/rect_layout_feature.json rename to test/files/bp/features/rect_layout_feature.json diff --git a/test/bp/features/rect_layout_feature_obsidian.json b/test/files/bp/features/rect_layout_feature_obsidian.json similarity index 100% rename from test/bp/features/rect_layout_feature_obsidian.json rename to test/files/bp/features/rect_layout_feature_obsidian.json diff --git a/test/bp/features/rect_layout_feature_planks.json b/test/files/bp/features/rect_layout_feature_planks.json similarity index 100% rename from test/bp/features/rect_layout_feature_planks.json rename to test/files/bp/features/rect_layout_feature_planks.json diff --git a/test/bp/features/scan_surface_feature.json b/test/files/bp/features/scan_surface_feature.json similarity index 100% rename from test/bp/features/scan_surface_feature.json rename to test/files/bp/features/scan_surface_feature.json diff --git a/test/bp/features/scan_surface_feature_obsidian.json b/test/files/bp/features/scan_surface_feature_obsidian.json similarity index 100% rename from test/bp/features/scan_surface_feature_obsidian.json rename to test/files/bp/features/scan_surface_feature_obsidian.json diff --git a/test/bp/features/scatter_feature.json b/test/files/bp/features/scatter_feature.json similarity index 100% rename from test/bp/features/scatter_feature.json rename to test/files/bp/features/scatter_feature.json diff --git a/test/bp/features/scatter_feature_obsidian.json b/test/files/bp/features/scatter_feature_obsidian.json similarity index 100% rename from test/bp/features/scatter_feature_obsidian.json rename to test/files/bp/features/scatter_feature_obsidian.json diff --git a/test/bp/features/search_feature.json b/test/files/bp/features/search_feature.json similarity index 100% rename from test/bp/features/search_feature.json rename to test/files/bp/features/search_feature.json diff --git a/test/bp/features/search_feature_obsidian.json b/test/files/bp/features/search_feature_obsidian.json similarity index 100% rename from test/bp/features/search_feature_obsidian.json rename to test/files/bp/features/search_feature_obsidian.json diff --git a/test/bp/features/sequence_feature.json b/test/files/bp/features/sequence_feature.json similarity index 100% rename from test/bp/features/sequence_feature.json rename to test/files/bp/features/sequence_feature.json diff --git a/test/bp/features/sequence_feature_planks.json b/test/files/bp/features/sequence_feature_planks.json similarity index 100% rename from test/bp/features/sequence_feature_planks.json rename to test/files/bp/features/sequence_feature_planks.json diff --git a/test/bp/features/structure_feature.json b/test/files/bp/features/structure_feature.json similarity index 100% rename from test/bp/features/structure_feature.json rename to test/files/bp/features/structure_feature.json diff --git a/test/bp/features/tree_feature.json b/test/files/bp/features/tree_feature.json similarity index 100% rename from test/bp/features/tree_feature.json rename to test/files/bp/features/tree_feature.json diff --git a/test/bp/features/underwater_cave_carver_feature.json b/test/files/bp/features/underwater_cave_carver_feature.json similarity index 100% rename from test/bp/features/underwater_cave_carver_feature.json rename to test/files/bp/features/underwater_cave_carver_feature.json diff --git a/test/bp/features/vegetation_patch_feature.json b/test/files/bp/features/vegetation_patch_feature.json similarity index 100% rename from test/bp/features/vegetation_patch_feature.json rename to test/files/bp/features/vegetation_patch_feature.json diff --git a/test/bp/features/vegetation_patch_feature_obsidian.json b/test/files/bp/features/vegetation_patch_feature_obsidian.json similarity index 100% rename from test/bp/features/vegetation_patch_feature_obsidian.json rename to test/files/bp/features/vegetation_patch_feature_obsidian.json diff --git a/test/bp/features/weighted_random_feature.json b/test/files/bp/features/weighted_random_feature.json similarity index 100% rename from test/bp/features/weighted_random_feature.json rename to test/files/bp/features/weighted_random_feature.json diff --git a/test/bp/features/weighted_random_feature_obsidian.json b/test/files/bp/features/weighted_random_feature_obsidian.json similarity index 100% rename from test/bp/features/weighted_random_feature_obsidian.json rename to test/files/bp/features/weighted_random_feature_obsidian.json diff --git a/test/bp/features/weighted_random_feature_planks.json b/test/files/bp/features/weighted_random_feature_planks.json similarity index 100% rename from test/bp/features/weighted_random_feature_planks.json rename to test/files/bp/features/weighted_random_feature_planks.json diff --git a/test/bp/manifest.json b/test/files/bp/manifest.json similarity index 100% rename from test/bp/manifest.json rename to test/files/bp/manifest.json diff --git a/test/bp/pack_icon.png b/test/files/bp/pack_icon.png similarity index 100% rename from test/bp/pack_icon.png rename to test/files/bp/pack_icon.png diff --git a/test/bp/structures/structure_features/structure.mcstructure b/test/files/bp/structures/structure_features/structure.mcstructure similarity index 100% rename from test/bp/structures/structure_features/structure.mcstructure rename to test/files/bp/structures/structure_features/structure.mcstructure diff --git a/test/src/SchemaTester.ts b/test/src/SchemaTester.ts new file mode 100644 index 00000000..e69de29b diff --git a/test/src/Utillity.ts b/test/src/Utillity.ts new file mode 100644 index 00000000..02152279 --- /dev/null +++ b/test/src/Utillity.ts @@ -0,0 +1,11 @@ +import path from "path"; + +export namespace Files { + export function TestFolder(): string { + return __dirname; + } + + export function FilesFolder(): string { + return path.join(TestFolder(), "files"); + } +}