Skip to content

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tests folder contains some test code that I want to keep.

1. FatherSon

  • FatherSon is a test that test the function of keyword "virtual" in c++.

2. virtualDestructor

  • Through this simple test, we can see why we need the destructor of base class to be virtual.

3. CopyConstructor

  • this test exploring the copy process when an object returned from a function.

4. object_life_time

  • this test illustrates that objects in submodule are released earlyer.

5. CallFatherFunc

  • this is a example of calling father's function in a son's object.