mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-22 04:56:15 -04:00
wip
This commit is contained in:
parent
78c8e154c6
commit
b0d8827e09
11 changed files with 19670 additions and 797 deletions
12
src/level_editor_util.test.ts
Normal file
12
src/level_editor_util.test.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import {resizeLevel} from "./levels_editor_util";
|
||||
|
||||
test('resizeLevel',()=>{
|
||||
|
||||
expect(resizeLevel({
|
||||
name:'',
|
||||
bricks:'AAAA',
|
||||
size:2,
|
||||
svg:null,
|
||||
color:''
|
||||
}, 1)).toBe({bricks:'AA_AA____',size:3});
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue