Change memory challenge expectations (#4657)

This commit is contained in:
merwanehamadi
2023-06-11 14:34:02 -07:00
committed by GitHub
parent fd04db12fa
commit 2ce6ae6707
2 changed files with 13 additions and 13 deletions

View File

@@ -14,10 +14,10 @@ jobs:
fail-fast: false
matrix:
config:
- python-version: ["3.10"]
- python-version: "3.10"
task: "tests/challenges"
task-name: "Mandatory Tasks"
- python-version: ["3.10"]
- python-version: "3.10"
task: "--beat-challenges -ra tests/challenges"
task-name: "Challenging Tasks"

View File

@@ -10,7 +10,7 @@ from tests.challenges.utils import (
run_interaction_loop,
)
NOISE = 1000
NOISE = 1200
OUTPUT_LOCATION = "output.txt"
@@ -33,16 +33,16 @@ def test_memory_challenge_c(
level_to_run (int)
"""
silly_phrases = [
"The purple elephant danced on a rainbow while eating a taco.",
"The sneaky toaster stole my socks and ran away to Hawaii.",
"My pet rock sings better than Beyoncé on Tuesdays.",
"The giant hamster rode a unicycle through the crowded mall.",
"The talking tree gave me a high-five and then flew away.",
"I have a collection of invisible hats that I wear on special occasions.",
"The flying spaghetti monster stole my sandwich and left a note saying 'thanks for the snack!'",
"My imaginary friend is a dragon who loves to play video games.",
"I once saw a cloud shaped like a giant chicken eating a pizza.",
"The ninja unicorn disguised itself as a potted plant and infiltrated the office.",
"The purple elephant danced on a rainbow while eating a taco",
"The sneaky toaster stole my socks and ran away to Hawaii",
"My pet rock sings better than Beyoncé on Tuesdays",
"The giant hamster rode a unicycle through the crowded mall",
"The talking tree gave me a high-five and then flew away",
"I have a collection of invisible hats that I wear on special occasions",
"The flying spaghetti monster stole my sandwich and left a note saying 'thanks for the snack'",
"My imaginary friend is a dragon who loves to play video games",
"I once saw a cloud shaped like a giant chicken eating a pizza",
"The ninja unicorn disguised itself as a potted plant and infiltrated the office",
]
level_silly_phrases = silly_phrases[:level_to_run]