a few more test cases
This commit is contained in:
		@ -175,7 +175,13 @@ extend MyObject
 | 
			
		||||
			
 | 
			
		||||
			## 35 - 39
 | 
			
		||||
			[MyObject.System.System.System KING == #KING],
 | 
			
		||||
			[self testMakeBlock == 49036]
 | 
			
		||||
			[self testMakeBlock == 49036],
 | 
			
		||||
			[ ((-2305843009213693952 * -2305843009213693952 * 2305843009213693952 * 2305843009213693952 * 2305843009213693952) - 1 + 2) = 65185151242703554760590262029100101153646988597309960020356494379340201592426774597868716033 ],
 | 
			
		||||
			[ "%d" strfmt((-2305843009213693952 * -2305843009213693952 * 2305843009213693952 * 2305843009213693952 * 2305843009213693952) - 1 + 2) = '65185151242703554760590262029100101153646988597309960020356494379340201592426774597868716033' ],
 | 
			
		||||
			[ "%#b" strfmt((-2305843009213693952 * -2305843009213693952 * 2305843009213693952 * 2305843009213693952 * 2305843009213693952) - 1 + 2) = '2r100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001' ],
 | 
			
		||||
 | 
			
		||||
			## 40 - 44
 | 
			
		||||
			[ "%#x" strfmt((-2305843009213693952 * -2305843009213693952 * 2305843009213693952 * 2305843009213693952 * 2305843009213693952) - 1 + 2) = '16r20000000000000000000000000000000000000000000000000000000000000000000000000001' ]
 | 
			
		||||
		).
 | 
			
		||||
 | 
			
		||||
		limit := tc size.
 | 
			
		||||
@ -185,6 +191,6 @@ extend MyObject
 | 
			
		||||
			| tb |
 | 
			
		||||
			tb := tc at: idx.
 | 
			
		||||
			System log(System.Log.INFO, idx asString, (if (tb value) { ' PASS' } else { ' FAIL' }), S'\n').
 | 
			
		||||
		]
 | 
			
		||||
		].
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -22,6 +22,7 @@ LIBSRCS := \
 | 
			
		||||
	heap.c \
 | 
			
		||||
	logfmt.c \
 | 
			
		||||
	moo.c \
 | 
			
		||||
	number.c \
 | 
			
		||||
	obj.c \
 | 
			
		||||
	pf.c \
 | 
			
		||||
	rbt.c \
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user