- Calgary Software Quality Discussion Group, SQDG - www.sqdg.ca
- Calgary Perspectives on Software Testing, POST - www.postworkshop.ca
- Vancouver Software Quality Assurance User Group, VANQ - www.vanq.org
- Toronto Association of Systems & Software Quality (TASSQ) - www.tassq.org
- Kitchener Waterloo Software Quality Association (KWSQA) - www.kwsqa.org
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
class PasswordVerifierLegacy() { | |
fun verify(password: String): Any { | |
var count = 1 | |
var messages:MutableList<String> = mutableListOf() | |
if (password.length < 8) messages.add("length less than 8") | |
if (password.firstOrNull { it.isDigit() } == null) messages.add("no digits") | |
if (password.firstOrNull { !it.isLetterOrDigit() } == null) messages.add("no regular characters") | |
if (password.filter { it.isLetter() }.firstOrNull { it.isUpperCase() } == null) messages.add("no uppercase") | |
if (password.filter { it.isLetter() }.firstOrNull { it.isLowerCase() } == null) messages.add("no lowercase") |
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
LootCreatures grouped by rarity, with bag number. | |
Based on 16,000 units at the time of the script. | |
Created september 8 2021. | |
Only rarity under 15 is listed. | |
Refernce: | |
[Name-Of-Creature]:[HowManyTotal] -> [BagNumbers] | |
------------------------------------------------- | |
Giant Vulture of The South:1 -> [27] | |
Water Lion of The North:1 -> [103] |
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
[TestFixture] | |
public class TrannsactionScopeTests | |
{ | |
private TransactionScope trans = null; | |
[SetUp] | |
public void SetUp() | |
{ | |
trans = new TransactionScope(TransactionScopeOption.Required); | |
} | |
[TearDown] |
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
Calculator calculator; | |
[SetUp] | |
public void Setup() | |
{ | |
calculator = new Calculator(); | |
} | |
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
<head > | |
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script> | |
<script type="text/javascript"> | |
function PhoneListCtrl($scope, $http){ | |
var dataurl ='http://gdata.youtube.com/feeds/api/videos?q="string%20calculator"%20kata%20-tekpub%20-movie&orderby=rating&alt=json'; | |
$http.get(dataurl).success(function(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
require "test/unit" | |
class StringCalculator | |
NEGATIVES_MSG = "negatives not allowed" | |
START_OF_CUSTOMDELIM_INDEX = 3 | |
TOO_LARGE = 1001 | |
def add(numbers) |
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
require "rspec" | |
class StringCalculator | |
def add(numbers) | |
return 0 if numbers == "" | |
return numbers.to_i unless numbers.include? "," | |
return numbers[0].to_i + numbers[2].to_i | |
end |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using TypeMock.Internal.Hooks; | |
namespace MyInterceptor | |
{ | |
public class Class1 | |
{ |
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
using System.IO; | |
namespace Demos.Inheritance | |
{ | |
interface ICustomLogger | |
{ | |
void Write(LogMessage msg); | |
void SetTarget(string locationOfFileOrService); | |
void Enable(); | |
void Disable(); |
NewerOlder