mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 09:46:59 -06:00
Rename DrawCraft → VectorCraft: crates (vectorcraft-*), apps, binaries, types, env vars, docs, examples (.vectorcraft); old .drawcraft files and preferences still load. Fix: text bounds exact after opening a file; selection no longer marks a document modified (dirty = content differs from the saved document). Screenshots and renders regenerated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
deb9df299c
commit
4878f1c5dd
@@ -1,10 +1,10 @@
|
||||
//! Minimal reproductions of engine bugs found by the property tests. Each is `#[ignore]`d with a
|
||||
//! `BUG:` reason until fixed; remove the attribute when the fix lands.
|
||||
|
||||
use drawcraft_engine::Session;
|
||||
use drawcraft_testkit::fixtures::{exec, rect, select, session};
|
||||
use drawcraft_testkit::invariants::{check_native_roundtrip_exact, check_session, doc_json, first_diff};
|
||||
use serde_json::json;
|
||||
use vectorcraft_engine::Session;
|
||||
use vectorcraft_testkit::fixtures::{exec, rect, select, session};
|
||||
use vectorcraft_testkit::invariants::{check_native_roundtrip_exact, check_session, doc_json, first_diff};
|
||||
|
||||
#[test]
|
||||
fn bug_group_inside_compound() {
|
||||
@@ -50,7 +50,7 @@ fn bug_bring_to_front_across_layers_underflows() {
|
||||
let b = rect(&mut s, 20.0, 0.0, 10.0, 10.0);
|
||||
for cmd in ["object.arrange.bringToFront", "object.arrange.bringForward"] {
|
||||
select(&mut s, &[a, b]);
|
||||
let r = drawcraft_testkit::catch_quiet(|| s.execute(cmd, &json!({})));
|
||||
let r = vectorcraft_testkit::catch_quiet(|| s.execute(cmd, &json!({})));
|
||||
assert!(r.is_ok(), "{cmd} panicked: {:?}", r.err());
|
||||
check_session(&s).unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user