test-data

A collection of test data

View the Project on GitHub

Arithmetic Expression Trees

Arithmetic expression trees are mathematical expressions represented through their order of operations hierarchy. In this case, we’ve represented several possible scenarios in XML files:

Expected Behavior

Name Description Result
All Safe Operators Tests for all arithmetic operations (+, -, *, /) 16
Integer Overflow Tests for values outside of the positive integer range (2^32) 33157157166001
Single Value Tests for a single node tree 25

Expected Errors