(cutWidth, cutHeight)
| 56 | } |
| 57 | |
| 58 | function makeRealFrame (cutWidth, cutHeight) |
| 59 | { |
| 60 | var mockSource = { width: 256, height: 256 }; |
| 61 | var mockTexture = { key: 'mock-texture', source: [ mockSource ] }; |
| 62 | var frame = new Frame(mockTexture, 'frame0', 0, 0, 0, cutWidth || 64, cutHeight || 64); |
| 63 | return frame; |
| 64 | } |
| 65 | |
| 66 | describe('Texture', function () |
| 67 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…