| 
									
										
										
										
											2020-07-04 10:09:48 -07:00
										 |  |  | test("basic functionality", () => { | 
					
						
							| 
									
										
										
										
											2020-07-06 07:37:45 -07:00
										 |  |  |     expect(Math.cbrt).toHaveLength(1); | 
					
						
							| 
									
										
										
										
											2020-06-21 11:34:00 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-07-06 07:37:45 -07:00
										 |  |  |     expect(Math.cbrt(NaN)).toBeNaN(); | 
					
						
							|  |  |  |     // FIXME: expect(Math.cbrt(-1)).toBe(-1);
 | 
					
						
							|  |  |  |     expect(Math.cbrt(-0)).toBe(-0); | 
					
						
							|  |  |  |     // FIXME: expect(Math.cbrt(-Infinity)).toBe(-Infinity);
 | 
					
						
							|  |  |  |     // FIXME: expect(Math.cbrt(1)).toBe(1);
 | 
					
						
							|  |  |  |     // FIXME: expect(Math.cbrt(Infinity)).toBe(Infinity);
 | 
					
						
							| 
									
										
										
										
											2020-08-25 14:45:31 -04:00
										 |  |  |     // FIXME: expect(Math.cbrt(null)).toBe(0);
 | 
					
						
							| 
									
										
										
										
											2020-07-06 07:37:45 -07:00
										 |  |  |     // FIXME: expect(Math.cbrt(2)).toBeCloseTo(1.259921));
 | 
					
						
							| 
									
										
										
										
											2020-07-04 10:09:48 -07:00
										 |  |  | }); |