模組:Adjacent stations/Beijing Subway/testcases

-- [[Module:Test]]的單元測試範例,前往討論頁以執行測試。
local p = require('Module:UnitTests')

function p:test_hello()
	self:preprocess_equals('{{#invoke:Test | hello}}', 'Hello, world!')
end

function p:test_acht()
	self:preprocess_equals('{{#invoke:Test | {{Adjacent stations|system=Beijing Subway|line1=8|left1=回龙观东大街|right1=育新|type1=N}} }}', '—')
end
return p