-
Code def hello "world" end
Test Cases describe "Solution" do it "returns with 'world'" do expect(hello()).to eq("world") end end
Output:
-
Code function hello() {return "world";}- def hello
- "world"
- end
Test Cases describe("Solution", function(){it("should test for something", function(){Test.assertEquals(hello(), "world");});});- describe "Solution" do
- it "returns with 'world'" do
- expect(hello()).to eq("world")
- end
- end
- All
- {{group.name}} ({{group.count}})
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}