localmHatnoteList=require('Module:Hatnote list/sandbox')-- the module to be testedlocalScribuntoUnit=require('Module:ScribuntoUnit')localsuite=ScribuntoUnit:new()functionsuite:testAndList()self:assertEquals("Foo, Bar, และ Baz",mHatnoteList.andList({"Foo","Bar","Baz"}))endfunctionsuite:testOrList()self:assertEquals("Foo, Bar, หรือ Baz",mHatnoteList.orList({"Foo","Bar","Baz"}))endfunctionsuite:testForSee()self:assertEquals("สำหรับFoo ดูที่ [[:Bar]] สำหรับBaz ดูที่ [[:Qux]]",mHatnoteList._forSee({"Foo","Bar","Baz","Qux"}))endreturnsuite