Peter Baratta
401dd550e4
Convert many byte strings to unicode; change string formatting
2013-06-20 11:46:04 -04:00
Peter Baratta
46686d8f7d
Quick fixes in calc.py
...
Especially the var[0].isdigit() one.
2013-06-13 16:38:43 -04:00
Peter Baratta
5735ccaad5
Address Sarina's comments from the PR
...
-Clean up `SUFFIXES` from interspersed commented-out suffixes
-Remove unused `LOG`
-Remove unused method `raiseself` of UndefinedVariable and its usage
2013-06-13 11:16:18 -04:00
Peter Baratta
0f72eedd37
Add variable i as an imaginary unit
2013-06-10 11:35:34 -04:00
Peter Baratta
944e3390e0
Add support for various math functions in calc.py.
2013-06-10 11:35:34 -04:00
Peter Baratta
a746a9ad15
Get rid of unused code
2013-06-10 11:08:48 -04:00
Peter Baratta
83f1f9c2fc
Set numpy so it does not print out warnings on student input
2013-06-05 15:50:35 -04:00
Peter Baratta
a85a7f71df
Rename variables; get rid of OPS
2013-06-05 15:50:17 -04:00
Peter Baratta
72d149caae
Add docstrings and comments
2013-06-03 10:46:11 -04:00
Peter Baratta
ed45c505a3
Simpler pyparsing
2013-06-03 10:44:06 -04:00
Peter Baratta
74866a38b0
Move parseActions and statics out of evaluator()
2013-06-03 10:42:42 -04:00
Peter Baratta
ff3997e72e
Add test to verify a single period is not accepted as input
2013-05-31 12:37:14 -04:00
Peter Baratta
80a27f9391
Add test and functionality for trailing period
2013-05-31 10:41:08 -04:00
Peter Baratta
2793bb4337
Add few more tests; fix a small bug with parallel resistors
2013-05-23 17:43:26 -04:00
Peter Baratta
43395b70b7
Enable coverage for calc module; split off tests
2013-05-21 15:20:51 -04:00
Ned Batchelder
7c498be606
Move packages around so we can install packages into the sandbox.
2013-05-06 10:55:05 -04:00