static void basicTest() {
		Range f = new Range(1,10);
		int[] arr = {1,2,3,4,5,6,7,8,9,10};
		int idx = 0;
		for (int val : f) {
			assert(arr[idx++] == val);
		}
		print("Forward non-stepped test passed");
		
		Range r = new Range(10,1);
		int[] rarr = {10,9,8,7,6,5,4,3,2,1};
		for (int val : r) {
			assert(rarr[idx--] == val);
		}
		print("Reverse non-stepped test passed");
		
		Range fs = new Range(2,20,2);
		int[] arr_s = {2,4,6,8,10,12,14,16,18,20};
		for (int val : fs) {
			assert(arr_s[idx++] == val);
		}
		print("Forward stepped test passed");
		
		Range rs = new Range(30,3,3);
		int[] rarr_s = {3,6,9,12,15,18,21,24,27,30};
		for (int val : rs) {
			assert(rarr_s[idx--] == val);
		}
		print("Reverse stepped test passed");
	}