模組:沙盒/BlackShadowG/Citation/CS1/testcases
外观
這是Module:沙盒/BlackShadowG/Citation/CS1的測試樣例頁,測試結果請見討論頁。 |
-- [[Module:Test]]的單元測試範例,前往討論頁以執行測試。
local p = require('Module:UnitTests')
function p:test_hello()
self:preprocess_equals('{{#invoke:沙盒/BlackShadowG/Citation/CS1|citation|CitationClass=journal|title=Wikipedia|arxiv=1}}', '')
self:preprocess_equals('{{#invoke:沙盒/BlackShadowG/Citation/CS1|citation|CitationClass=journal|title=Wikipedia|isbn=1}}', '')
end
return p