Updated reverse string tests from problem specifications. (#3648)
[no important files changed] This test case (though new) is easily passed by the canonical/vast majority solution, so student solution re-testing is not needed at this time.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# These tests are auto-generated with test data from:
|
||||
# https://github.com/exercism/problem-specifications/tree/main/exercises/reverse-string/canonical-data.json
|
||||
# File last updated on 2023-07-19
|
||||
# File last updated on 2024-02-28
|
||||
|
||||
import unittest
|
||||
|
||||
@@ -27,3 +27,6 @@ class ReverseStringTest(unittest.TestCase):
|
||||
|
||||
def test_an_even_sized_word(self):
|
||||
self.assertEqual(reverse("drawer"), "reward")
|
||||
|
||||
def test_wide_characters(self):
|
||||
self.assertEqual(reverse("子猫"), "猫子")
|
||||
|
||||
Reference in New Issue
Block a user