Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rush42 committed Oct 3, 2024
1 parent 5ba7eeb commit 61a1bb4
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,13 @@ describe("CreateSubcategoriesAdjoiningOrIsolated", function()
require("BikelaneCategories")
require("CreateSubcategoriesAdjoiningOrIsolated")

local testCategory = BikelaneCategory.new({id = "test", desc = '', condition= function () return true end })
local testCategory = BikelaneCategory.new({
id = "test",
desc = '',
infrastructureExists=true,
implicitOneWay=true,
condition= function () return true end
})
local testCategoryAdjoining, testCategoryIsolated, testCategoryAdjoiningOrIsolated = CreateSubcategoriesAdjoiningOrIsolated(testCategory)
it('should add postfix "adjoining" when IsSidepath is true', function()
local tags = { ["is_sidepath"] = "yes" }
Expand Down

0 comments on commit 61a1bb4

Please sign in to comment.