Project Diamond progress report
By Piiichan
Tests details
AssetLoader : 5 tests
- should not register same url multiple times
- should load and call complete callbacks
- should store assets ony once
- should load and call error callbacks
- should send requests to loaders only once per url
TileViewer : 12 tests
- should separate tiles in layers by family and by group
- should put containers in main container
- should generate view once only
- should create tiles bitmaps and use their BitmapData
- should create transitions at world limit
- should not create transitions where there should not be
- should not duplicate transition bitmapdata
- should create single transitions at correct position in tiles
- should create multiple transitions at correct position in tiles
- should hide show bitmaps at a tile position
- should show the bitmaps around the center and hide the rest
- should move the main container when setting center
WallViewer : 7 tests
- should ignore walls outside the world
- should associate walls to their id
- should compute shapes position
- should place walls in grid
- should put large walls on several grid tiles
- should show walls around center and hide the others
- should translate container according to view center
Total tested classes : 3 / 15
Total tests : 24 / 150