diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-18 23:24:00 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-18 23:24:00 +0000 |
commit | 47fea6d4aa5c9cfb2e71c51f769dac3023630035 (patch) | |
tree | 6a4b15f0b85d8bb5602146e20241b49e938f409b /Build/source/utils/asymptote/tests | |
parent | 0dfdf5c49b160d464b74a9cae8882ea81cc47878 (diff) |
asy 1.99
git-svn-id: svn://tug.org/texlive/trunk@19047 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/tests')
-rw-r--r-- | Build/source/utils/asymptote/tests/gc/pen.asy | 2 | ||||
-rw-r--r-- | Build/source/utils/asymptote/tests/types/resolve.asy | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/tests/gc/pen.asy b/Build/source/utils/asymptote/tests/gc/pen.asy index 7b8d48dfcec..691cf6dea8a 100644 --- a/Build/source/utils/asymptote/tests/gc/pen.asy +++ b/Build/source/utils/asymptote/tests/gc/pen.asy @@ -1,4 +1,4 @@ for (int i = 0; i < 1e7; ++i) { - pen p = linetype("test"); + pen p = linetype(new real[] {1,2}); } diff --git a/Build/source/utils/asymptote/tests/types/resolve.asy b/Build/source/utils/asymptote/tests/types/resolve.asy index 83dd797e7cc..b668b15490f 100644 --- a/Build/source/utils/asymptote/tests/types/resolve.asy +++ b/Build/source/utils/asymptote/tests/types/resolve.asy @@ -147,6 +147,10 @@ assert(g(y=4.4, 4.4) == 7); assert(!(f != g)); assert(!(g != f)); } +{ +void foo() {} +assert((foo == null ? 5 : 8) == 8); +} // TODO: Add packing vs. casting tests. |