From 43f0ff3f28d198fbb4e36346fc5f36fa91cf3e18 Mon Sep 17 00:00:00 2001 From: Bruce Wells Date: Thu, 25 Oct 2018 11:54:54 -0400 Subject: Support for better invalid expression detection and divide by zero (#30) * Additional validation for bad expressions (*+ for example) * Removing DivisionByZeroException testing for now Added more unit tests. --- src/NXP/Exception/DivisionByZeroException.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/NXP/Exception/DivisionByZeroException.php (limited to 'src/NXP/Exception') diff --git a/src/NXP/Exception/DivisionByZeroException.php b/src/NXP/Exception/DivisionByZeroException.php new file mode 100644 index 0000000..3a9a978 --- /dev/null +++ b/src/NXP/Exception/DivisionByZeroException.php @@ -0,0 +1,19 @@ + + */ +class DivisionByZeroException extends MathExecutorException +{ +} -- cgit v1.2.3