This file contains hidden or 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
lr_save_string (MyCharStarString, "MyParameter") ; |
This file contains hidden or 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
//Result Validation | |
{ | |
ExtractResult () ; | |
CheckResultCountEquals (1) ; | |
CheckAwesomePersonAgainstServiceResponse | |
( | |
lr_get ("{Result_AwesomePerson_1_Id}"), | |
lr_get ("{Result_AwesomePerson_1_Name}"), |
This file contains hidden or 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
<services> | |
<service name="My.Service.Name"> | |
<endpoint name="Endpoint One"> | |
<operation name="GetAwesomePeople"> | |
<aspect name="Input Validation" start="22/03/2010 - 2:02:17" finish="22/03/2010 - 2:02:23"> | |
<case name="Name not supplied" start="22/03/2010 - 2:02:18" finish="22/03/2010 - 2:02:20" result="failed" /> | |
<case name="Name is larger than db value" start="22/03/2010 - 2:02:20" finish="22/03/2010 - 2:02:20" result="passed" /> | |
<case name="Name is one char" start="22/03/2010 - 2:02:20" finish="22/03/2010 - 2:02:21" result="passed" /> | |
<case name="Awesome person does not exist" start="22/03/2010 - 2:02:21" finish="22/03/2010 - 2:02:22" result="failed" /> | |
</aspect> |
This file contains hidden or 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
void DeleteFile (const char* const filename) | |
{ | |
lr_set (filename, "__DeleteFile_filename") ; | |
system ("del /S /Q {__DeleteFile_filename}") ; | |
} |
This file contains hidden or 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
if (collection->getCatalogue()->isMatch((*objectItr)->m_element)) | |
{ | |
// we have our match, catalogue is unchanged | |
} | |
//OR | |
if (collection->getCatalogue()->isMatch((*objectItr)->m_element), true) | |
{ | |
// we have a match and our catalogue was updated |
This file contains hidden or 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
a = [[], [], [], []] | |
width = 10 | |
length = 4 | |
stones = 2 # or 3 | |
for i in range(length): | |
for j in range(width): | |
a[i].append(stones) | |
if i == 1 and j == width - 2: | |
a[i][j] = 1 |
This file contains hidden or 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
As a user, I want to search for my customers by their first and last names. | |
As a non-administrative user, I want to modify my own schedules but not the schedules of other users. | |
As a mobile application tester, I want to test my test cases and report results to my management. |
This file contains hidden or 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
for (( c=0; c<=854; c += 10 )) do | |
wget -k "http://oeis.org/search?q=2,4,6,8&start=$c&fmt=data" -O $c.html; | |
done |
This file contains hidden or 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
class NetworkMessage implements MessageSender { | |
public send(Message message) { | |
//things occur | |
} | |
}; |
This file contains hidden or 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
(def y 3) | |
(+ 2 y) | |
;=> 5 | |
(reduce + [2 3 4 5]) | |
;=> 14 |