Skip to content
Permalink
d87517a20c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
33 lines (25 sloc) 479 Bytes
#include "RandomTests.h"
#include <string>
using namespace std;
namespace RandomTesting {
class TestNonsense: public UnitTest
{
public:
TestNonsense() { testName = "This is some strangeness"; }
void PerformTest()
{
string str1;
str1.pop_back();
AssertTrue(str1 == "");
}
};
}
RandomTests :: RandomTests()
{
using namespace RandomTesting;
testName = "RandomGiberishTests";
tests.push_back(new TestNonsense());
}
RandomTests :: ~RandomTests()
{
}