Skip to content

marehr/seqan-retreat-2017-how-to-write-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Please don't use this! This was an example repository for a SeqAn Retreat in March 2017. The purpose was to pitch google test, explain how google test is working, how one can use it and have a small hands on session. We use google test in seqan3, so if you want to see more example have a look in that repository.


We are using googletest! And all are like YEAH?

First things first, does it work for you?

git clone https://github.com/marehr/seqan-retreat-2017-how-to-write-tests
.git

cd seqan-retreat-2017-how-to-write-tests

mkdir build
cd build

cmake -DCMAKE_CXX_COMPILER=`which g++-7` ../test

make -j

ctest .

Please, listen to the introduction?!

Now it's your turn!

  • Implement is_power_of_two in test/basic/integral_types_test.cpp
  • Add new types like uint16_t and uint32_t
  • What happened? Did the tdd approach cover everything?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published