import { Palette } from './palette' ; describe ( 'Palette' , ( ) => { let palette ; beforeEach ( ( ) => { palette = new Palette ( '#E91E63' ) ; } ) ; describe ( 'constructor' , ( ) => { it ( 'should create' , ( ) => { expect ( palette ) . toBeDefined ( ) ; } ) ; } ) ; describe ( 'color50' , ( ) => { it ( 'should return #ffffff' , ( ) => { const color50 = palette . color50 ; expect ( color50 ) . toEqual ( '#ffffff' ) ; } ) ; } ) ; describe ( 'color100' , ( ) => { it ( 'should return #facada' , ( ) => { const color50 = palette . color100 ; expect ( color50 ) . toEqual ( '#facada' ) ; } ) ; } ) ; describe ( 'color200' , ( ) => { it ( 'should return #f597b7' , ( ) => { const color50 = palette . color200 ; expect ( color50 ) . toEqual ( '#f597b7' ) ; } ) ; } ) ; describe ( 'color300' , ( ) => { it ( 'should return #ee568a' , ( ) => { const color50 = palette . color300 ; expect ( color50 ) . toEqual ( '#ee568a' ) ; } ) ; } ) ; describe ( 'color400' , ( ) => { it ( 'should return #ec3a76' , ( ) => { const color50 = palette . color400 ; expect ( color50 ) . toEqual ( '#ec3a76' ) ; } ) ; } ) ; describe ( 'color500' , ( ) => { it ( 'should return #e91e63' , ( ) => { const color50 = palette . color500 ; expect ( color50 ) . toEqual ( '#e91e63' ) ; } ) ; } ) ; describe ( 'color600' , ( ) => { it ( 'should return #d41556' , ( ) => { const color50 = palette . color600 ; expect ( color50 ) . toEqual ( '#d41556' ) ; } ) ; } ) ; describe ( 'color700' , ( ) => { it ( 'should return #b8124a' , ( ) => { const color50 = palette . color700 ; expect ( color50 ) . toEqual ( '#b8124a' ) ; } ) ; } ) ; describe ( 'color800' , ( ) => { it ( 'should return #9c0f3f' , ( ) => { const color50 = palette . color800 ; expect ( color50 ) . toEqual ( '#9c0f3f' ) ; } ) ; } ) ; describe ( 'color900' , ( ) => { it ( 'should return #800d34' , ( ) => { const color50 = palette . color900 ; expect ( color50 ) . toEqual ( '#800d34' ) ; } ) ; } ) ; describe ( 'colorA100' , ( ) => { it ( 'should return #ffffff' , ( ) => { const color50 = palette . colorA100 ; expect ( color50 ) . toEqual ( '#ffffff' ) ; } ) ; } ) ; describe ( 'colorA200' , ( ) => { it ( 'should return #ffa1c1' , ( ) => { const color50 = palette . colorA200 ; expect ( color50 ) . toEqual ( '#ffa1c1' ) ; } ) ; } ) ; describe ( 'colorA400' , ( ) => { it ( 'should return #fc3e7e' , ( ) => { const color50 = palette . colorA400 ; expect ( color50 ) . toEqual ( '#fc3e7e' ) ; } ) ; } ) ; describe ( 'colorA700' , ( ) => { it ( 'should return #f13071' , ( ) => { const color50 = palette . colorA700 ; expect ( color50 ) . toEqual ( '#f13071' ) ; } ) ; } ) ; } ) ;