Skip to content

Commit 6cad530

Browse files
author
盛骏
committed
update tests
1 parent 39ee34b commit 6cad530

9 files changed

Lines changed: 7 additions & 17 deletions

File tree

tests/cosmos/simple/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/// Test: simple cosmos style with LaTeX-aligned body styles
22
/// - Plain style (italic body): theorem, lemma, corollary, proposition, conjecture
33
/// - Definition style (upright body): definition, axiom, postulate, assumption, property
4-
#import "/lib.typ": show-theorion
5-
#import "/cosmos/simple.typ": *
4+
#import "/lib.typ": *
65

76
#set page(width: 350pt, height: auto, margin: (x: 15pt, y: 15pt))
87
#set heading(numbering: "1.1")

tests/features/basic-theorem/test.typ

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/// Test: basic theorem environments work correctly
2-
#import "/lib.typ": show-theorion, theorion-restate
3-
#import "/cosmos/simple.typ": *
4-
#import "/cosmos/default.typ": proof, example
2+
#import "/lib.typ": *
53

64
#set page(width: 300pt, height: auto, margin: (x: 15pt, y: 15pt))
75
#set heading(numbering: "1.")

tests/features/body-styles/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
/// Used for: definition, axiom, postulate, assumption, property
66
/// - Remark style (LaTeX \theoremstyle{remark}): italic title + period + space + UPRIGHT body
77
/// Available as render-fn-remark for custom environments
8-
#import "/lib.typ": show-theorion
9-
#import "/cosmos/simple.typ": *
8+
#import "/lib.typ": *
109

1110
#set page(width: 350pt, height: auto, margin: (x: 15pt, y: 15pt))
1211
#set heading(numbering: "1.")

tests/features/custom-title-format/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/// Test: custom title format using get-full-title parameter (issue #28 workaround)
22
/// Users can customize the title format like "Theorem 1.1: My Theorem" instead of
33
/// the default "Theorem 1.1 (My Theorem)"
4-
#import "/lib.typ": show-theorion
5-
#import "/cosmos/simple.typ": *
4+
#import "/lib.typ": *
65

76
#set page(width: 300pt, height: auto, margin: (x: 15pt, y: 15pt))
87
#set heading(numbering: "1.")

tests/features/theorem-indent/test.typ

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/// Test: theorem indentation - theorems should not be indented when first-line-indent is set
22
/// Also tests that first paragraph after theorem is not indented
33
#import "/lib.typ": show-theorion, theorem
4-
#import "/cosmos/simple.typ": *
54

65
#set page(width: 250pt, height: auto, margin: (x: 15pt, y: 15pt))
76
#set heading(numbering: "1.")

tests/features/theorem-numbering/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// Test: theorem numbering - counters, inherited levels, zero-fill, leading-zero
2-
#import "/lib.typ": show-theorion, set-theorion-numbering, set-inherited-levels, set-zero-fill, set-leading-zero
3-
#import "/cosmos/simple.typ": *
2+
#import "/lib.typ": *
43

54
#set page(width: 300pt, height: auto, margin: (x: 15pt, y: 15pt))
65
#set heading(numbering: "1.1")

tests/features/theorem-restate/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// Test: theorem restate functionality
2-
#import "/lib.typ": show-theorion, theorion-restate
3-
#import "/cosmos/simple.typ": *
2+
#import "/lib.typ": *
43

54
#set page(width: 300pt, height: auto, margin: (x: 15pt, y: 15pt))
65
#set heading(numbering: "1.")

tests/issues/i25-indent/test.typ

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/// Test: Issue #25 - theorem indentation with first-line-indent
22
/// Theorems should NOT be indented even when par.first-line-indent is set
33
#import "/lib.typ": show-theorion, theorem
4-
#import "/cosmos/simple.typ": *
54

65
#set page(width: 250pt, height: auto, margin: (x: 15pt, y: 15pt))
76
#set heading(numbering: "1")

tests/issues/i29-supplement-none/test.typ

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
/// Test: Issue #29 - ref with supplement=none should not add extra space
2-
#import "/lib.typ": show-theorion
3-
#import "/cosmos/simple.typ": *
2+
#import "/lib.typ": *
43

54
#set page(width: 300pt, height: auto, margin: (x: 15pt, y: 15pt))
65
#set heading(numbering: "1")

0 commit comments

Comments
 (0)