1
0
pretty/test
Jon Michael Aanes 87b12e15b2 Fixed issues with analýse_structure.lua
The most significant was a misclassification of tables with number
exclusive keys, with huge jumps between each one.
Example: { 1, [300] = 300 }

This was caused by logic faults in `get_table_info`, which has been fixed.

When solving above issue, a two new issues appeared:

1.	Due to a logic fault, the count of number of elements in a table was wrong,
	leading to issues with tables with boolean keys. This was fixed with simple
	logic changes.
2.	Some very small tables (1 element) would be classified as sets, and thus
	rendered wrongly. This was fixed by adding a MINIMUM_NUMBER_OF_SET_ELEMENTS
	constant.
2017-04-14 13:06:43 +02:00
..
test_analyze_structure.lua Fixed issues with analýse_structure.lua 2017-04-14 13:06:43 +02:00
test_function.lua Alternative process for determining short tables 2017-04-14 12:19:23 +02:00
test_number.lua Added more tests. 2017-04-12 15:15:03 +02:00
test_pretty.lua Fixed issues with analýse_structure.lua 2017-04-14 13:06:43 +02:00
test_resilience.lua Alternative process for determining short tables 2017-04-14 12:19:23 +02:00
tests.lua Reworked the number formatting system. Will now attempt to generate the shortest possible representation of the given number. 2017-04-03 20:01:36 +02:00