The third szenario is using a mock. Mock Test App Exec $ g++ -c UserInterface.cpp WindowManager.cpp $ ar rcs libwnd.a
Continue readingCategory: Technology
Unit testing series – Test scenario (Part 2)
For my unit testing series I have designed the following szenario. Prev: Unit testing series – Intro / Setup (Part
Continue readingUnit testing series – Intro / Setup (Part 1)
Introduction With unit testing you want to test the smallest unit possible, which means a single function. These units shall
Continue readingElectronic components (Selection)
Jumper (J) A jumper is a conducting wire used to connect two contacts without creating a significant resistance. They are
Continue readingRectifier circuit
Allows converting alternating current (AC) into direct current (DC). Half-wave rectifier circuit (Without smoothing) Half-wave rectifier circuit (With smoothing) Full-wave
Continue readingParameter handling (REST)
Path-Param … Gets specified in the URL-Path to move down the hierarchy. Query-Param … Gets specified behind the URL-Path to
Continue readingDecorator (Design Pattern)
This structural pattern increases the functionality of a class. Looks similar to a proxy, but it gets the object injected
Continue readingInteger overflow (C++)
Unsigned integer Range: [0,255] Binary: 00000000 =++=> 00000001 =++=> … =++=> 11111111 Hex: 0x00 =++=> 0x01 =++=> … =++=> 0xFF
Continue readingBracketing (Exposure & Focus)
Sometimes it’s a good idea to do a sequence of pictures of a scene instead of a single shot. During
Continue readingLayout of std::vector (libstdc++)
Source code Analysis Layout |——————————–| | vector vec | | 1 | 2 | 3 | 4 | 5 |
Continue reading