905 Commits

Author SHA1 Message Date
Caleb Deveraux
b3a51d8487 Merge branch 'topic/regression_testing'
Conflicts:
	nbt.py
	run_regression_test.py
2010-10-05 21:10:54 -06:00
Caleb Deveraux
86ad3180ca Update regression test w/ checksums so they sync w/ codewarrior0's master 2010-10-05 21:00:51 -06:00
Caleb Deveraux
af7e286c7e Merge remote branch 'origin/master' into topic/regression_testing 2010-10-05 20:53:11 -06:00
Caleb Deveraux
31b4fcbf13 Use int(s, 36) rather than roll a custom base36 converter 2010-10-05 19:48:52 +08:00
Caleb Deveraux
269af277d7 Used reversed rather than __reversed__ 2010-10-05 19:48:51 +08:00
Caleb Deveraux
b766af613c Avoid creating temporary lists where possible 2010-10-05 19:48:51 +08:00
Caleb Deveraux
d85ffc1b8f Use pack_into/unpack_from where possible 2010-10-05 19:48:51 +08:00
Caleb Deveraux
b113261c51 Use enumerate, rather than explicit count 2010-10-05 19:44:02 +08:00
Caleb Deveraux
e1d583f51d Don't coerce data type twice 2010-10-05 19:44:02 +08:00
Caleb Deveraux
f7fc6ba343 Fix TAG_Compound to use value property 2010-10-05 19:44:01 +08:00
Caleb Deveraux
cfe68af226 Don't construct a key list unnecessarily; it slows things down 2010-10-05 19:43:30 +08:00
Caleb Deveraux
113b0fc7e1 Allow selection of regresion tests from the command line 2010-10-04 02:59:46 -06:00
Caleb Deveraux
19cf6ca568 run_regression_test.py now outputs the checksum's found on success 2010-10-04 02:59:41 -06:00
Caleb Deveraux
962e16bfc2 Allow selection of regresion tests from the command line 2010-10-04 02:56:30 -06:00
Caleb Deveraux
c4a37d8a59 run_regression_test.py now outputs the checksum's found on success 2010-10-04 02:56:17 -06:00
Caleb Deveraux
aa41458327 Don't append strings in a loop! 2010-10-04 01:56:09 -06:00
Caleb Deveraux
5557a0c802 Use int(s, 36) rather than roll a custom base36 converter 2010-10-04 01:55:44 -06:00
Caleb Deveraux
f602ba15ef Used reversed rather than __reversed__ 2010-10-04 01:55:17 -06:00
Caleb Deveraux
4bec18588f Simplify mask construction to prevent unnecessary temporaries 2010-10-04 00:28:02 -06:00
Caleb Deveraux
8ba96f9b13 Avoid creating temporary lists where possible 2010-10-04 00:23:31 -06:00
Caleb Deveraux
67f3d56846 Merge remote branch 'github/topic/regression_testing' 2010-10-03 23:14:46 -06:00
Caleb Deveraux
369aac35a3 Add regression test for relight call 2010-10-03 23:13:19 -06:00
Caleb Deveraux
0dd31db679 Add regression testing of 'analyze' command 2010-10-03 22:49:38 -06:00
Caleb Deveraux
d24b4dc10b Merge remote branch 'github/topic/regression_testing' 2010-10-03 22:42:22 -06:00
Caleb Deveraux
fdb35d8f4c Add some regression testing code.
This should help detect if any code changes introduce unexpected
behavior.
2010-10-03 22:39:30 -06:00
Caleb Deveraux
8f2aca1ab5 Allow override of random seed/last_played time for regression testing 2010-10-03 22:39:30 -06:00
Caleb Deveraux
d0f89f4022 mce.py can be executed out of the box on *nix 2010-10-03 22:39:30 -06:00
Caleb Deveraux
1fcc6d076b Fix file case problem for linux 2010-10-03 20:35:46 -06:00
Caleb Deveraux
ee8a079cf1 Unify the 'load named nbt' logic 2010-10-03 20:35:46 -06:00
Caleb Deveraux
37889cddfb Don't construct a key list unnecessarily; it slows things down 2010-10-03 20:35:46 -06:00
Caleb Deveraux
b0e1cbda2f Use pack_into/unpack_from where possible 2010-10-03 20:35:46 -06:00
Caleb Deveraux
4e2f6fc2b8 Don't coerce data type twice 2010-10-03 20:35:46 -06:00
Caleb Deveraux
ac6d8e0018 Use enumerate, rather than explicit count 2010-10-03 20:35:46 -06:00
Caleb Deveraux
4cdca8b63c Separate the log/debug method with a newline 2010-10-03 20:35:46 -06:00
Caleb Deveraux
8c503d7ab5 Exit with an error code on failure 2010-10-03 20:35:46 -06:00
Caleb Deveraux
39264828e5 Fix TAG_Compound to use value property 2010-10-03 20:35:46 -06:00
Caleb Deveraux
fc87cc2e83 Fix TAG_Byte_Array's setValue and dataType member functions 2010-10-03 20:35:46 -06:00
Caleb Deveraux
8eb6657408 Fix the 'No newline at end of file' weirdness in box.py 2010-10-03 20:35:46 -06:00
Caleb Deveraux
33226cddb8 Fix TAG_String's setValue and dataType member functions 2010-10-03 20:35:36 -06:00
Caleb Deveraux
9269130130 Use new-style classes so properties work
Properties don't work on old-style classes.  Convert classes to
new-style by explicitly inheriting from object.
2010-10-03 20:28:24 -06:00
David Vierra
7265fd3658 made generateHeightMap a global func until I find a better place to put it
this means a fake chunk can generate its heightmap
2010-10-03 12:35:58 -10:00
David Vierra
b214157f59 fake chunks now have a reference to the parent level 2010-10-03 12:34:54 -10:00
David Vierra
b630586568 fixed fencepost error in dummy getPresentChunks 2010-10-03 12:34:19 -10:00
David Vierra
4551c81e67 removed unused structures, converted a list to a numpy array 2010-10-02 02:12:15 -10:00
David Vierra
5ba7bf2c96 don't try to update zeroChunk 2010-10-01 21:08:40 -10:00
David Vierra
bae486d35b fill zero chunks with white light instead of darkness 2010-10-01 18:19:33 -10:00
David Vierra
2f81e8469a correct the entity's motion and position correctly 2010-10-01 18:19:23 -10:00
David Vierra
f66099f9c0 Merge branch 'master' of d:\gitrepos\mcedit\pymclevel 2010-09-28 16:04:32 -10:00
David Vierra
cf94b41cf1 .NET gzip output doesn't always get read correctly by python's gzip 2010-09-28 16:04:25 -10:00
David Vierra
e1ac12659c test on a schematic already present 2010-09-28 16:04:02 -10:00