Fundamentals
Strings
I agree, this shouldn't count.
import codewars_test as t @t.describe("Solution") def a(): t.assert_equals(1, 1)
import codewars_test as test@test.describe("Solution")- import codewars_test as t
- @t.describe("Solution")
- def a():
@test.it("should test for something")def a():test.assert_equals("cba", 'cba')- t.assert_equals(1, 1)
Fundamentals
Strings
I mean if u gonna put it like that...
import codewars_test as test from solution import s as reverse_string @test.describe("Solution") def a(): @test.it("should test for something") def a(): test.assert_equals(reverse_string('abc'), 'cba') test.assert_equals(reverse_string('123'), '321') test.assert_equals(reverse_string('a1b2c3'), '3c2b1a') test.assert_equals(reverse_string('Hello World!'), '!dlroW olleH') test.assert_equals(reverse_string('Lorem ipsum dolor sit amet!'), '!tema tis rolod muspi meroL')
- import codewars_test as test
from solution import stre as reverse_string- from solution import s as reverse_string
- @test.describe("Solution")
- def a():
- @test.it("should test for something")
- def a():
- test.assert_equals(reverse_string('abc'), 'cba')
- test.assert_equals(reverse_string('123'), '321')
- test.assert_equals(reverse_string('a1b2c3'), '3c2b1a')
- test.assert_equals(reverse_string('Hello World!'), '!dlroW olleH')
- test.assert_equals(reverse_string('Lorem ipsum dolor sit amet!'), '!tema tis rolod muspi meroL')
Fundamentals
Strings