mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
nits on test/js/utils/PixelUtilsTest_visit_connected.js
This commit is contained in:
parent
b11f7a430d
commit
552d4fa710
@ -14,7 +14,6 @@ describe("PixelUtils visitor methods tests", function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
it("getSimilarConnectedPixelsFromFrame works", function() {
|
it("getSimilarConnectedPixelsFromFrame works", function() {
|
||||||
// single point
|
|
||||||
var frame = pskl.model.Frame.fromPixelGrid(test.testutils.toFrameGrid([
|
var frame = pskl.model.Frame.fromPixelGrid(test.testutils.toFrameGrid([
|
||||||
[T, T, B],
|
[T, T, B],
|
||||||
[B, T, B],
|
[B, T, B],
|
||||||
@ -42,6 +41,5 @@ describe("PixelUtils visitor methods tests", function() {
|
|||||||
expect(containsPixel(pixels, 2, 0)).toBe(true);
|
expect(containsPixel(pixels, 2, 0)).toBe(true);
|
||||||
expect(containsPixel(pixels, 2, 1)).toBe(true);
|
expect(containsPixel(pixels, 2, 1)).toBe(true);
|
||||||
expect(containsPixel(pixels, 2, 2)).toBe(true);
|
expect(containsPixel(pixels, 2, 2)).toBe(true);
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user