 00657c906e
			
		
	
	
		00657c906e
		
			
		
	
	
	
	
		
			
			All code for unit tests is now under the `PhpSpreadsheet\Tests` namespace which is autoloaded via composer mechanism. So there is no need for `require()` anymore. Also, tests were moved in `tests/` folder and phpunit should be executed from the project root folder. This is to conform to the de facto standard, notably in use in phpunit itself.
		
			
				
	
	
		
			11 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			256 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| "10110010",	"178"
 | |
| "1100100",	"100"
 | |
| "111001010101",	"#NUM!"		//	Too large
 | |
| "101",		"5"
 | |
| "10",		"2"
 | |
| "0",		"0"
 | |
| "21",		"#NUM!"		//	Invalid binary number
 | |
| TRUE,		"#VALUE!"	//	Non string
 | |
| "1110010101",	"-107"		//	2's Complement
 | |
| "1111111111",	"-1"		//	2's Complement
 |