/**
* Name: operatortest
* Author: Truong Chi Quang
* Description: Tests the length operator
* Tags: test, length
*/

model testLength

grid cell width: 5 height: 5{
	float grid_value <-1.0;
}
experiment length type: test {
	
	
	test "length" {
		list<int> vList<- [12,13];
		assert length([1,2,3,4.4])=4;
		assert length(vList)=2;
		assert length(cell)=25; 
		assert length(cell where (each.grid_value=1.0))=25;
	}

	
	
}
