Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82191804
matrix.spec.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 10, 02:23
Size
567 B
Mime Type
text/x-java
Expires
Thu, Sep 12, 02:23 (2 d)
Engine
blob
Format
Raw Data
Handle
20662317
Attached To
rNIETZSCHEBETAAPP Nietzsche-Beta-App
matrix.spec.ts
View Options
import { Component, Input, DebugElement, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed, async } from '@angular/core/testing';
import { Matrix } from './matrix';
describe('Matrix', () => {
it('should create the Object', ()=>{
expect(new Matrix('rotation(90)')).toBeTruthy();
});
it('should create the Object', ()=>{
let matrix = new Matrix('matrix(1 0 0 1 0 0)', 1.5)
//console.log(matrix.toString());
expect(matrix.toString()).toEqual('matrix(1 0 0 1 -210 -210)');
});
});
Event Timeline
Log In to Comment