Bản mẫu:Tài liệu/tải sẵn mẫu thử mô đun

Văn thư lưu trữ mở Wikisource

-- Mẫu kiểm thử đơn vị cho Mô đun:Tài liệu. Nhấn vào trang thảo luận để chạy chúng. local p = require('Mô đun:UnitTests')

-- Ví dụ một mẫu thử. function p:test_hello() self:preprocess_equals('Hello World!', 'Hello, world!') end

return p