def add(a, b): return a + b
// write a add function that doesn't use the plus symbolfunction add(a, b){return a + b;}// Make sure to view the test cases to see how this test fails- def add(a, b):
- return a + b
@test.describe('No need to do test here -- check user solution in preloaded section') def nothing(): pass
const fs = require('fs');const solution = fs.readFileSync('/home/codewarrior/solution.txt', 'utf8');describe("Check Solution", function(){it("should prevent the '+' symbol from being used anywhere in the code", function(){Test.expect(solution.indexOf('+') == -1, "Your code isn't allowed to include the + symbol!");});});- @test.describe('No need to do test here -- check user solution in preloaded section')
- def nothing():
- pass