mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
19df8040df
Initial commit of a basic test framework, see readme.md for more Most modules are covered with basic unit tests, and there's an example test for a graphics draw (rectangle) and object (File) - for object tests doing more scenario based so we can check multiple things together
24 lines
588 B
Lua
24 lines
588 B
Lua
function love.conf(t)
|
|
t.console = true
|
|
t.window.name = 'love.test'
|
|
t.window.width = 256
|
|
t.window.height = 256
|
|
t.window.resizable = true
|
|
t.renderers = {"opengl"}
|
|
t.modules.audio = true
|
|
t.modules.data = true
|
|
t.modules.event = true
|
|
t.modules.filesystem = true
|
|
t.modules.font = true
|
|
t.modules.graphics = true
|
|
t.modules.image = true
|
|
t.modules.math = true
|
|
t.modules.objects = true
|
|
t.modules.physics = true
|
|
t.modules.sound = true
|
|
t.modules.system = true
|
|
t.modules.thread = true
|
|
t.modules.timer = true
|
|
t.modules.video = true
|
|
t.modules.window = true
|
|
end |