Commit Graph

13 Commits

Author SHA1 Message Date
Marc Chan
e09fee45c3 forth: Fix #1135, update test to v1.4.0 (#1175)
* forth: Fix #1135, update test to v1.4.0

* forth: improve example to pass test v1.4.0
2018-01-26 08:29:22 -06:00
Corey McCandless
efa763641e fix deprecation warnings (#1161)
* fix deprecation warnings
* use simpler test for assertRaisesRegex existence
2018-01-18 16:47:11 +00:00
Nathan Parsons
f53e2ef08b Implement checks for raising messages with exceptions (#1113)
* Implement checks for messages being raised with exceptions
(Fixes #1080)

* Add self.assertRaisesWithMessage method to relevant exercise tests
    - Uses self.assertRaisesRegex
    - Checks only for the presence of a message, not content
* Add meaningful messages to failing examples
* octal: Switch to using a context manager for exception tests

* Add note regarding error messages to the insert

* simple-linked-list: Move hints.md to correct location

* simple-cipher: Remove extra whitespace from lines

* collatz-conjecture: Update hints.md

* Regenerate README to include exceptions section
2017-12-12 12:11:43 -06:00
Nathan Parsons
c26ce50112 forth: Fix errors in tests (#1063)
* forth: Fix errors in tests
* forth: Add empty line test
* forth: Update example to work with new tests
2017-10-27 16:46:37 +01:00
Nathan Parsons
50d3759c6d forth: Update version strings to reference problem-specifications (#986) 2017-10-25 10:17:29 +03:00
Corey McCandless
5cf1ec25a1 forth: fix import line 2017-10-23 15:14:31 -05:00
Corey McCandless
c04d723182 forth: rename UnderflowError to StackUnderflowError 2017-10-09 14:23:21 -05:00
Corey McCandless
f87af30651 forth: replace "return None" with appropriate exceptions 2017-10-09 11:27:43 -05:00
Corey McCandless
7be8cc65be forth: add canonical data version 2017-10-09 09:14:56 -05:00
Corey McCandless
8118a84dca forth: avoid using built-in function as variable name 2017-10-09 09:10:33 -05:00
Corey McCandless
1357d9b244 forth: add example solution 2017-10-06 16:43:57 -05:00
Corey McCandless
d20e749492 forth: write test cases 2017-10-06 15:34:38 -05:00
Corey McCandless
4b9a2d37af forth: add README and add to config.json 2017-10-06 14:54:31 -05:00