This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Click(string command) | |
{ | |
if (Program.WebBrowser.InvokeRequired) | |
Program.WebBrowser.Invoke(new Action(() => Program.WebBrowser.Navigate($"command://{command}/"))); | |
else | |
Program.WebBrowser.Navigate($"command://{command}/"); | |
} | |
public string GetDisplayedText() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Hangman - Implements the flow of a single Hangman game, given a secret word.', () => { | |
describe('Generates Hints from the secret word and the input', () => { | |
it('returns a hint that contains only underscores at the start of the game', () => { /* ... */}); | |
['test', 'a', 'few', 'cases'].forEach(secretWord => { | |
it('shows a hint with the correct length for the secret word "'+secretWord+'" at the start of the game', () => { | |
/* ... */ | |
}); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Hangman - Implements the flow of a single Hangman game, given a secret word.', () => { | |
it('returns a hint that contains only underscores at the start of the game', () => { /* ... */}); | |
['test', 'a', 'few', 'cases'].forEach(secretWord => { | |
it('shows a hint with the correct length for the secret word "'+secretWord+'" at the start of the game', () => { | |
/* ... */ | |
}); | |
}); | |
[[['c'], 'c____'], [['c', 's'], 'c_s_s'], [['c', 's', 'e'], 'c_ses']].forEach(data => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
url "https://oss.sonatype.org/content/repositories/snapshots/" | |
} | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.6.+' | |
classpath 'com.novoda:gradle-android-test-plugin:0.9.8-SNAPSHOT' |