2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/spec/unit/eink_optimization_spec.lua

11 lines
302 B
Lua
Raw Normal View History

2016-03-09 03:38:06 +00:00
describe("eink optimization setting", function()
2017-01-21 13:58:01 +00:00
setup(function()
require("commonrequire")
end)
2016-03-09 03:38:06 +00:00
it("should be correctly loaded", function()
G_reader_settings:saveSetting("low_pan_rate", true)
assert.Equals(require("device").screen.low_pan_rate, true)
2016-03-09 03:38:06 +00:00
end)
end)