Add thread attribute to the functions which need it.
[SquirrelJME.git] / tools / c-source-writer / src / test / java / cc / squirreljme / c / TestParenthesisExpression.java
blob24cc272260d341d9da6094edab207a19633c97f9
1 // -*- Mode: Java; indent-tabs-mode: t; tab-width: 4 -*-
2 // ---------------------------------------------------------------------------
3 // Multi-Phasic Applications: SquirrelJME
4 // Copyright (C) Stephanie Gawroriski <xer@multiphasicapps.net>
5 // ---------------------------------------------------------------------------
6 // SquirrelJME is under the Mozilla Public License Version 2.0.
7 // See license.mkd for licensing and copyright information.
8 // ---------------------------------------------------------------------------
10 package cc.squirreljme.c;
12 import java.io.IOException;
13 import net.multiphasicapps.tac.TestRunnable;
15 /**
16 * Tests parenthesis expressions.
18 * @since 2023/06/24
20 public class TestParenthesisExpression
21 extends TestRunnable
23 /**
24 * {@inheritDoc}
26 * @since 2023/06/24
28 @Override
29 public void test()
30 throws IOException
32 try (__Spool__ spool = __Spool__.__init(false))
34 spool.expression(CExpressionBuilder.builder()
35 .parenthesis()
36 .parenthesis()
37 .parenthesis()
38 .close()
39 .close()
40 .close()
41 .build());
43 this.secondary("empty", spool.tokens());