Commit Graph

12 Commits

Author SHA1 Message Date
Manasa Patibandla
7aac5be271 triangle : add test template (#2016) 2019-10-03 17:49:44 -04:00
Yuriy
f811fc06e2 triangle: adding a new scalene test for two smaller sides equal (#1894)
Co-Authored-By: Corey McCandless <cmccandless@users.noreply.github.com>
2019-08-07 15:01:44 -04:00
Stig Johan Berggren
29f98149a4 triangle: sync with problem-specifications (#1786)
* triangle: Update function and test names

Brings the exercise in line with canonical-data 1.2.1
2019-05-23 12:34:54 -04:00
Xitang
534ceae3b4 triangle: update tests to v1.2.1 (#1757) (#1769) 2019-04-29 15:38:05 -04:00
Nishant Suman
85f5e02dbe triangle: update tests to v1.2.0 (#1607)
* #1585 test suite for triangle updated to v1.2.0

* canonical data version updated in test suite

* Update triangle_test.py
2018-12-06 09:01:31 -05:00
Corey McCandless
ad3be2a2c3 triangle: update tests to canonical-data v1.0.0 (#1163) 2018-01-18 23:43:18 +00: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
cmccandless
f8f495ca4a Improve exception tests by making use of Context Managers to resolve #477 2017-10-21 11:17:15 +03:00
Tammo Behrends
bbd3c623b8 Refactor assertEqual(actual,expected) param order
closes #440
2017-03-23 13:37:20 +01:00
Tammo Behrends
d640812e10 Adapt pycodestyle E305 and E741 2016-11-29 09:46:05 +01:00
Alberto
b9dfe29184 Moved the exercises to the folder exercises/. 2016-01-26 17:24:22 +01:00