mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:12:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			246 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| test("basic functionality", () => {
 | |
|     expect(Math.log).toHaveLength(1);
 | |
| 
 | |
|     expect(Math.log(-1)).toBe(NaN);
 | |
|     expect(Math.log(0)).toBe(-Infinity);
 | |
|     expect(Math.log(1)).toBe(0);
 | |
|     expect(Math.log(10)).toBeCloseTo(2.302585092994046);
 | |
| });
 | 
