mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-29 01:34:29 +01:00
main added HostClass initializers in host_tests.rs without the reflect `info` field, a second test named assigning_undefined_to_the_selection_throws_and_keeps_it, and type and size checks on DocumentPreset settings. - host_tests.rs: the six new HostClass initializers give `info`. - The selection test for an index past the end of pageItems is renamed assigning_an_index_past_the_end_to_the_selection_throws_and_keeps_it. - The preset heap tests used titles of 512 KiB and an array of 20,000 booleans as a title, which the setter now refuses. They now reach the run's heap with 4,092-byte titles, and compare presets holding a four-number documentBleedOffsetRect with presets holding an eight-byte title, so each array element still counts.