mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Stylistic changes to pixel and pen size code.
This commit is contained in:
@@ -51,11 +51,11 @@ describe("PenSize test suite", function() {
|
||||
});
|
||||
|
||||
it("skips invalid value (outside of [1, 4])", function() {
|
||||
console.log('[PenSizeService] skips invalid value (outside of [1, 4])');
|
||||
console.log('[PenSizeService] skips invalid value (outside of [1, 32])');
|
||||
userSettingsPenSize = 1;
|
||||
|
||||
penSizeService.init();
|
||||
// MAX_VALUE is 4
|
||||
// MAX_VALUE is 32
|
||||
penSizeService.setPenSize(33);
|
||||
expect(penSizeService.getPenSize()).toBe(1);
|
||||
// MIN_VALUE is 1
|
||||
|
||||
Reference in New Issue
Block a user