-
Notifications
You must be signed in to change notification settings - Fork 220
Codewars Ruby Test Framework
kazk edited this page Sep 7, 2017
·
1 revision
describe "Tests" do
it "a test case" do
Test.assert_equals(add(1, 1), 2, "optional message")
end
end
TODO Improve the descriptions while keeping them simple.
Checks that the actual value equals the expected value.
Checks that the actual value does not equal the unexpected value.
Checks that block
raises an error.
Checks that block
raises no error.
Checks that passed
is truthy.
Returns a random number.
Returns a random string.