Cards coming back to the beginning of the array after Snap ?
yes, it looks like the array used for random tests in Python is not the right one; I took the liberty to arrange the words array (cf my former post), and random tests are working fine now ! Beautiful kata by the way !
Here is the right list to work with ! All works fine with it
words = [ ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative", "watermelon", "controversial", "marijuana"], ["like", "a", "tweet", "what", "for", "world", "whale", "one", "last", "sun"], ["ocean", "beauty", "tweet", "monster", "yellow", "return", "despair", "flower", "return", "contrast"], ["romantic", "curious", "banana", "jealousy", "tactlessly", "remorseful", "follower", "elephant", "however", "instagram"], ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative", "watermelon", "controversial", "marijuana"], ["lackadaisical", "serendipity", "colonoscopy", "dramatically", "parsimonius", "imagination", "electricity", "diabolical", "deforestation", "abomination"], ["extraterrestrial", "onomatopoeia", "responsibility", "revolutionary", "generalisation", "enthusiastically", "biodiversity", "veterinarian", "characteristically", "indefatigable"], ["oversimplification", "individuality", "decriminalisation", "compartmentalisation", "anaesthesiologist", "industrialisation", "buckminsterfullerene", "irresponsibility", "autobiographical", "utilitarianism"] ]
for Python : small issues with spaces in random generations; message error : ' Yankee' should equal '. Yankee'
or
'Romeo ' should equal 'Romeo ! !'
Good kata otherwise !
Loading collection data...
Cards coming back to the beginning of the array after Snap ?
yes, it looks like the array used for random tests in Python is not the right one;
I took the liberty to arrange the words array (cf my former post), and random tests are working fine now !
Beautiful kata by the way !
Here is the right list to work with ! All works fine with it
words = [ ["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
"watermelon", "controversial", "marijuana"],
["like", "a", "tweet", "what", "for", "world", "whale", "one", "last", "sun"],
["ocean", "beauty", "tweet", "monster", "yellow", "return", "despair", "flower", "return", "contrast"],
["romantic", "curious", "banana", "jealousy", "tactlessly", "remorseful", "follower", "elephant",
"however", "instagram"],
["salmonella", "consequently", "irregular", "intelligence", "vegetable", "ordinary", "alternative",
"watermelon", "controversial", "marijuana"],
["lackadaisical", "serendipity", "colonoscopy", "dramatically", "parsimonius", "imagination",
"electricity", "diabolical", "deforestation", "abomination"],
["extraterrestrial", "onomatopoeia", "responsibility", "revolutionary", "generalisation",
"enthusiastically", "biodiversity", "veterinarian", "characteristically", "indefatigable"],
["oversimplification", "individuality", "decriminalisation", "compartmentalisation", "anaesthesiologist",
"industrialisation", "buckminsterfullerene", "irresponsibility", "autobiographical", "utilitarianism"]
]
for Python :
small issues with spaces in random generations;
message error :
' Yankee'
should equal
'. Yankee'
or
'Romeo '
should equal
'Romeo ! !'
Good kata otherwise !