Skip to content

Commit

Permalink
Merge pull request #25 from zickgraf/master
Browse files Browse the repository at this point in the history
Remove --warn-overwrite=no from Julia test and make spacing in test file compatible with GAP 4.13
  • Loading branch information
zickgraf committed Mar 19, 2024
2 parents dad17a8 + 56d5384 commit 64c72cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "ZXCalculusForCAP",
Subtitle := "The category of ZX-diagrams",
Version := "2024.02-01",
Version := "2024.03-01",
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
License := "GPL-2.0-or-later",

Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ test-gap_to_julia: doc
~/.gap/pkg/PackageJanitor/gap_to_julia FinSetsForCAP
~/.gap/pkg/PackageJanitor/gap_to_julia ZXCalculusForCAP
julia -e 'using Pkg; Pkg.develop("CAP"); Pkg.develop("MonoidalCategories"); Pkg.develop("CartesianCategories"); Pkg.develop("Toposes"); Pkg.develop("FinSetsForCAP"); Pkg.develop("ZXCalculusForCAP");'
julia -e 'using Pkg; Pkg.test("ZXCalculusForCAP", julia_args = ["--warn-overwrite=no"]);'
julia -e 'using Pkg; Pkg.test("ZXCalculusForCAP");'

ci-test: test-basic-spacing test-spacing test-doc test-with-coverage test-with-coverage-without-precompiled-code test-gap_to_julia
10 changes: 5 additions & 5 deletions tst/CategoryOfZXDiagrams.tst
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ gap> PreCompose( IdentityMorphism( zero ), coev );;
gap> Display( PreCompose( coev, ev ) );
A morphism in Category of ZX-diagrams given by a ZX diagram with 0 vertex labe\
ls
[ ],
[ ],
inputs
[ ],
[ ],
outputs
[ ],
[ ],
and 0 edges
[ ].
[ ].
gap> Display( PreCompose( ev, coev ) );
A morphism in Category of ZX-diagrams given by a ZX diagram with 6 vertex labe\
ls
Expand All @@ -49,7 +49,7 @@ ls
outputs
[ 3, 4, 5, 3, 4, 5 ],
and 0 edges
[ ].
[ ].

#
gap> X_1_1 := MorphismConstructor( one, [ [ "neutral", "X", "neutral" ], [ BigInt( 0 ) ], [ BigInt( 2 ) ], [ [ BigInt( 0 ), BigInt( 1 ) ], [ BigInt( 2 ), BigInt( 1 ) ] ] ], one );;
Expand Down

0 comments on commit 64c72cd

Please sign in to comment.