()
| 26 | |
| 27 | describe('NgLocalization', () => { |
| 28 | function roTests() { |
| 29 | it('should return plural cases for the provided locale', () => { |
| 30 | const l10n = TestBed.inject(NgLocalization); |
| 31 | expect(l10n.getPluralCategory(0)).toEqual('few'); |
| 32 | expect(l10n.getPluralCategory(1)).toEqual('one'); |
| 33 | expect(l10n.getPluralCategory(1212)).toEqual('few'); |
| 34 | expect(l10n.getPluralCategory(1223)).toEqual('other'); |
| 35 | }); |
| 36 | } |
| 37 | |
| 38 | describe('ro', () => { |
| 39 | beforeEach(() => { |
no test coverage detected