Unverified Commit 83afb04b authored by RobLoach's avatar RobLoach
Browse files

Fix lutro.keyboard to be lutro.graphics in the unit tests

parent 76911c31
function lutro.keyboard.setBackgroundColorTest()
function lutro.graphics.setBackgroundColorTest()
red = 115
green = 27
blue = 135
......@@ -8,7 +8,7 @@ function lutro.keyboard.setBackgroundColorTest()
lutro.graphics.setBackgroundColor(red, green, blue, alpha)
end
function lutro.keyboard.getBackgroundColorTest()
function lutro.graphics.getBackgroundColorTest()
r, g, b, a = lutro.graphics.getBackgroundColor()
unit.assertEquals(r, 115)
unit.assertEquals(g, 27)
......@@ -17,6 +17,6 @@ function lutro.keyboard.getBackgroundColorTest()
end
return {
lutro.keyboard.setBackgroundColorTest,
lutro.keyboard.getBackgroundColorTest
lutro.graphics.setBackgroundColorTest,
lutro.graphics.getBackgroundColorTest
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment