mirror of
https://bitbucket.org/Mattrixwv/my-classes.git
synced 2025-12-07 02:33:57 -05:00
Updated comments
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
//myClasses/test/mee/testStringAlgorithms.cpp
|
||||
//Matthew Ellison
|
||||
// Created: 07-02-21
|
||||
//Modified: 07-02-21
|
||||
//Modified: 10-11-21
|
||||
//This file contains tests for the functions in my stringAlgorithms library
|
||||
/*
|
||||
Copyright (C) 2021 Matthew Ellison
|
||||
@@ -188,6 +188,14 @@ bool testIsPandigital(){
|
||||
return false;
|
||||
}
|
||||
|
||||
//Test 4
|
||||
num = "123";
|
||||
correctAnswer = false;
|
||||
answer = mee::isPandigital(num, '3', '1');
|
||||
if(correctAnswer != answer){
|
||||
return false;
|
||||
}
|
||||
|
||||
//If it hasn't failed a test then return true for passing all the tests
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user