mirror of
https://github.com/esengine/DeepSeek-Reasonix.git
synced 2026-11-07 10:45:59 -10:00
test(studio): the card shell guard counts four cards now that a remembered fact is a row
This commit is contained in:
1 parent
4c6ea3b000
commit
31370255fb
1 file changed
+1
-1
@@ -48,7 +48,7 @@ for (const scheme of ["light", "dark"]) {
|
||||
head: hl ? getComputedStyle(hl).backgroundColor : "rgba(0, 0, 0, 0)",
|
||||
};
|
||||
}));
|
||||
check(`${scheme}: five kinds of card found`, rows.length === 5, rows.map((r) => r.kind).join(","));
|
||||
check(`${scheme}: four kinds of card found`, rows.length === 4, rows.map((r) => r.kind).join(","));
|
||||
const same = (key) => new Set(rows.map((r) => r[key])).size === 1;
|
||||
check(`${scheme}: one radius`, rows.length > 0 && same("radius"), [...new Set(rows.map((r) => r.radius))].join(" / "));
|
||||
check(`${scheme}: one border colour, whatever the state`, rows.length > 0 && same("border"), [...new Set(rows.map((r) => r.border))].join(" / "));
|
||||
|
||||
Reference in new issue
Block a user