Files
love/testing/tests/video.lua
T
ell 19df8040df 0.1
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
2023-10-04 14:43:44 +01:00

10 lines
300 B
Lua

-- love.video
-- love.video.newVideoStream
-- @NOTE this is just basic nil checking, full obj test are in objects.lua
love.test.video.newVideoStream = function(test)
local videostream = love.video.newVideoStream('resources/sample.ogv')
test:assertObject(videostream)
videostream:release()
end