Merge pull request #5 from jorenchik/readme-lv

add latvian readme
This commit is contained in:
Kristofers Solo 2024-03-10 21:10:09 +02:00 committed by GitHub
commit f37ea3b636
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 43 additions and 2 deletions

41
README-lv.md Normal file
View File

@ -0,0 +1,41 @@
# Pārskats
[![Tests](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml/badge.svg)](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml)
## Projekts
Šis ir vienkāršs C++ projekts, kas ietver funkciju mūsu kolēģiem
testēšanai. Funkcija (t.i., galvenā funkcija un tajā izmantotās apakšfunkcijas)
atrodas `lib.cpp`.
## Papildu bibliotēkas un izpildāmā programma
Mūsu bibliotēka `prep` ir saistīta ar datu sagatavošanu pirms funkcijas
izsaukuma. `test.cpp` ir viens testa fails, kurā būs mūsu kolēģu testi
un mūsu pašu izstrādes testi. GTest tiek izmantots testiem.
## Lietojums
## Kompilācija
Kompilācijai operētājsistēmā Linux ir nepieciešams cmake un CXX kompilators (e.g., g++).
### ninja
```bash
cmake -G ninja -B build
cd build
ninja
./main
```
### Make
```bash
cmake -B build
cd build
make
./main
```
Rezultātā iegūtie binārie faili ir `build/main` - programma un `build/runtests`, lai
palaistu punktos norādītos testus iekš `test.cpp`.

View File

@ -1,7 +1,7 @@
# Overview # Overview
[![Tests](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml/badge.svg)](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml) [![Tests](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml/badge.svg)](https://github.com/jorenchik/testing-spring-2024/actions/workflows/test.yml)
[Latvian](./README-lv.md)
## Project ## Project
This is a simple C++ project that includes the function for our colleagues to This is a simple C++ project that includes the function for our colleagues to
@ -43,5 +43,5 @@ run tests specified in `test.cpp`.
## TODOS ## TODOS
- [ ] Translate README in Latvian - [x] Translate README in Latvian
- [ ] Check the compilation process on Windows and add description in README - [ ] Check the compilation process on Windows and add description in README