forked from exercism/moonscript-test-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexpected_results.json
More file actions
1 lines (1 loc) · 1.94 KB
/
expected_results.json
File metadata and controls
1 lines (1 loc) · 1.94 KB
1
{"tests":[{"message":"./example_partial_error.moon:5: attempt to call a number value (for iterator 'for iterator')","status":"error","test_code":" result = hamming.distance '', ''\n assert.are.equal 0, result\n","name":"empty strands"},{"message":"./example_partial_error.moon:5: attempt to call a number value (for iterator 'for iterator')","status":"error","test_code":" result = hamming.distance 'A', 'A'\n assert.are.equal 0, result\n","name":"single letter identical strands"},{"message":"./example_partial_error.moon:5: attempt to call a number value (for iterator 'for iterator')","status":"error","test_code":" result = hamming.distance 'G', 'T'\n assert.are.equal 1, result\n","name":"single letter different strands"},{"message":"./example_partial_error.moon:5: attempt to call a number value (for iterator 'for iterator')","status":"error","test_code":" result = hamming.distance 'GGACTGAAATCTG', 'GGACTGAAATCTG'\n assert.are.equal 0, result\n","name":"long identical strands"},{"message":"./example_partial_error.moon:5: attempt to call a number value (for iterator 'for iterator')","status":"error","test_code":" result = hamming.distance 'GGACGGATTCTG', 'AGGACGGATTCT'\n assert.are.equal 9, result\n","name":"long different strands"},{"status":"pass","test_code":" f = -> hamming.distance 'AATG', 'AAA'\n assert.has.error f, 'strands must be of equal length'\n","name":"disallow first strand longer"},{"status":"pass","test_code":" f = -> hamming.distance 'ATA', 'AGTG'\n assert.has.error f, 'strands must be of equal length'\n","name":"disallow second strand longer"},{"status":"pass","test_code":" f = -> hamming.distance '', 'G'\n assert.has.error f, 'strands must be of equal length'\n","name":"disallow empty first strand"},{"status":"pass","test_code":" f = -> hamming.distance 'G', ''\n assert.has.error f, 'strands must be of equal length'\n","name":"disallow empty second strand"}],"status":"pass","version":2}