<feed xmlns='http://www.w3.org/2005/Atom'>
<title>7Units/src/test/java/sevenUnits/utils, branch v1.0.0b2</title>
<subtitle>A unit converter made in Java, inspired by GNU Units
</subtitle>
<id>https://git.ahopkins.ca/7units.git/atom?h=v1.0.0b2</id>
<link rel='self' href='https://git.ahopkins.ca/7units.git/atom?h=v1.0.0b2'/>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/'/>
<updated>2025-05-31T00:54:17Z</updated>
<entry>
<title>ExpressionParser: use correct operand order</title>
<updated>2025-05-31T00:54:17Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>adrien.p.hopkins@gmail.com</email>
</author>
<published>2025-05-21T23:23:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=4cb7e4eb4a9213304ee5b83c9aaa0427e9a8fe31'/>
<id>urn:sha1:4cb7e4eb4a9213304ee5b83c9aaa0427e9a8fe31</id>
<content type='text'>
Most of the internal problems with the expression parser happened
because I was accepting the arguments for binary operators in the wrong
order.  For example, '2 - 1' became '1 2 -', not '2 1 -'.

The likely cause of this error is the following sequence of events:
- In commit 6dbd32cd, I created the code for interpreting RPN.  I
  accepted two arguments from the stack (o1 and o2), then performed o1
  &lt;op&gt; o2.  However, because stacks are in LIFO order, I should have
  actually done o2 &lt;op&gt; o1.
- Later, in commit 94349688, I created the code for converting an infix
  expression to RPN.  Creating the expressions in the correct order did
  not work, because my interpreter used the incorrect order.  To 'fix'
  this problem, I created the expressions in the incorrect order.  I did
  not notice any discrepancy, probably because I was not testing the
  individual methods, only the two-step whole (which found no errors).
</content>
</entry>
<entry>
<title>Add tests for submethods of ExpressionParser</title>
<updated>2025-05-21T23:20:44Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>adrien.p.hopkins@gmail.com</email>
</author>
<published>2025-05-21T22:59:40Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=779bf983226f9799dc19d84a3f2cb9a3e26cd540'/>
<id>urn:sha1:779bf983226f9799dc19d84a3f2cb9a3e26cd540</id>
<content type='text'>
These tests fail right now, because ExpressionParser has a bug.  They
should help me fix it.
</content>
</entry>
<entry>
<title>Add tests for NameSymbol</title>
<updated>2025-03-21T20:26:01Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>adrien.p.hopkins@gmail.com</email>
</author>
<published>2025-03-21T20:26:01Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=99ef729b27377b440b15757b789101c7ed87aec1'/>
<id>urn:sha1:99ef729b27377b440b15757b789101c7ed87aec1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correct encoding of ±</title>
<updated>2024-08-15T22:26:34Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>adrien.p.hopkins@gmail.com</email>
</author>
<published>2024-08-15T21:47:24Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=fbb2f4a997e7e7043a2bdf15303b88907f6bcbc6'/>
<id>urn:sha1:fbb2f4a997e7e7043a2bdf15303b88907f6bcbc6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format source code &amp; set explicit UTF-8</title>
<updated>2024-03-24T18:14:11Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>adrien.p.hopkins@gmail.com</email>
</author>
<published>2024-03-24T18:14:11Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=26291e672b0e683edc9d57710a9a9d96ca199c45'/>
<id>urn:sha1:26291e672b0e683edc9d57710a9a9d96ca199c45</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added documentation to undocumented tests</title>
<updated>2022-07-09T18:53:26Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>ahopk127@my.yorku.ca</email>
</author>
<published>2022-07-09T18:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=8b124b2437d53d70444f31ef52e00b8d7463c636'/>
<id>urn:sha1:8b124b2437d53d70444f31ef52e00b8d7463c636</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implemented rounding and duplicate-removal settings into the new GUI</title>
<updated>2022-04-18T22:15:22Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>ahopk127@my.yorku.ca</email>
</author>
<published>2022-04-18T22:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=f0541a955b6e4b12d808cffec0874f50a004e8b9'/>
<id>urn:sha1:f0541a955b6e4b12d808cffec0874f50a004e8b9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Moved SemanticVersionNumber to sevenUnits.utils</title>
<updated>2022-02-24T21:44:13Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>ahopk127@my.yorku.ca</email>
</author>
<published>2022-02-24T21:44:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=b7eee33a5b162b4057d04d28f45738e3048bf01d'/>
<id>urn:sha1:b7eee33a5b162b4057d04d28f45738e3048bf01d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added a full suite of tests for the UncertainDouble</title>
<updated>2021-11-29T22:55:35Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>ahopk127@my.yorku.ca</email>
</author>
<published>2021-11-29T22:55:35Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=8ea77520ce58e948eeffc4c2e8c25c69e88ed00a'/>
<id>urn:sha1:8ea77520ce58e948eeffc4c2e8c25c69e88ed00a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed unused imports</title>
<updated>2021-10-04T22:34:53Z</updated>
<author>
<name>Adrien Hopkins</name>
<email>ahopk127@my.yorku.ca</email>
</author>
<published>2021-10-04T22:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.ahopkins.ca/7units.git/commit/?id=e35af3d2a4745eca2e6e1a70a694c40ed045617e'/>
<id>urn:sha1:e35af3d2a4745eca2e6e1a70a694c40ed045617e</id>
<content type='text'>
</content>
</entry>
</feed>
