mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
e03b2db08b
- Added tests for all obj creation, transformation, window + system info graphics methods
- Added half the state methods for graphics + added placeholders for missing drawing methods
- Added TestMethod:assertNotNil() for quick nil checking
- Added time total to the end of each module summary in console log to match file output
- Removed a bunch of unessecary nil checks
- Removed :release() from test methods, collectgarbage("collect") is called between methods instead
- Renamed /output to /examples to avoid confusion
- Replaced love.filesystem.newFile with love.filesystem.openFile
- Replaced love.math.noise with love.math.perlinNoise / love.math.simplexNoise
- Fixed newGearJoint throwing an error in 12 as body needs to be dynamic not static now
- Some general cleanup, incl. better comments and time format in file output
25 lines
589 B
Lua
25 lines
589 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
|