commented all the tests but TEST(BaseClass, sizeof) for a while to develop
the program step-by-step (using test driven development technology)
added members to class BaseClass to pass test TEST(BaseClass, sizeof)
added definitions for all member-functions at class BaseClass
commented definition for constructor of class StorageClass
added definition for default constructor of class BaseClass
uncommented test TEST(BaseClass, Initialisation) and passed it
made methods' names and comments at every method's definition to match
coding standarts of initial source files
made getters const
moved setters to private section and made SetBuffer with two operands
instead of two methods SetBuffer() and SetBufferSize()
changed return value of GetBuffer to const char*
added constructor that takes one operand - s
added copy constructor
added destructor
changed return type of GetBuffer
added const to operand s of method SetS()
added operand size to SetBuffer() and changed it's logic that now sets
size, and copies value of buffer to buffer_ in a right way
removed definition of SetBufferSize()
changed definition of default constructor
included <cstring> to make SetBuffer work
added definition of BaseClass::BaseClass(int32_t s)