Skip to content

Commit

Permalink
Run test_gxpdf
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Apr 11, 2024
1 parent 7e82c5d commit c2c2631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:
env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"
TEST_GXPDF: "1"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion test/test_gprinter.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_gxpdf(self):
B = g3.mv('B', 'bivector')
Fmt(1) # Set Fmt globally
gprint(r'\mathbf{B} =', B) # B will be bold.
gprint(r'\mathbf{B} =', B.Fmt(1)) # Fmt(3) here only.
gprint(r'\mathbf{B} =', B.Fmt(3)) # Fmt(3) here only.
gprint(r'\mathbf{B} =', B) # Global Fmt remembered.

gprint(r'\mathbf{B}^2 =', B*B)
Expand Down

0 comments on commit c2c2631

Please sign in to comment.