Compare commits
2 Commits
946f93eaca
...
409ee7aa35
| Author | SHA1 | Date | |
|---|---|---|---|
| 409ee7aa35 | |||
| d992255125 |
11
.clang-format
Normal file
11
.clang-format
Normal file
@ -0,0 +1,11 @@
|
||||
# Google style C++ Code Style settings
|
||||
# https://clang.llvm.org/docs/ClangFormatStyleOptions.html
|
||||
|
||||
Language: Cpp
|
||||
BasedOnStyle: Google
|
||||
AccessModifierOffset: -1
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignOperands: Align
|
||||
AllowAllArgumentsOnNextLine: true
|
||||
ColumnLimit: 80
|
||||
BreakBeforeBraces: Allman
|
||||
17
README.md
17
README.md
@ -1,3 +1,18 @@
|
||||
# azkoyen_technical_test
|
||||
|
||||
Azkoyen technical test implementation. Implemented (mostly) on standard c++ 17 framework, but with Qt wherever was necessary
|
||||
Azkoyen technical test implementation. Implemented (mostly) on standard c++ 17 framework, but with Qt wherever was necessary.
|
||||
|
||||
## Development approach
|
||||
|
||||
A Test-Driven Development (TDD) workflow was followed throughout the project. Every component — from the lowest-level file reader to the GUI window — has a corresponding Google Test suite that was written before (or alongside) the production code. This ensures each module behaves correctly in isolation and makes regressions immediately visible.
|
||||
|
||||
## SysfsRead class
|
||||
|
||||
- Will convert the contents of a file and output an enum class
|
||||
- Reads a sysfs-like file
|
||||
- If the file is missing, the reader will output Unreachable
|
||||
- If the file contains only a "1" the reader will output Enabled
|
||||
- If the file contains "error: temp too high", the reader will output ErrorTempTooHigh
|
||||
- if the file contains any other value the reader will output UnexpectedValue
|
||||
- if the file is empty: it will output Empty
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user