Merge branch 'main' of uit.mpei.ru:YusufovYB/cs-lab34
Этот коммит содержится в:
8
block_with.cpp
Обычный файл
8
block_with.cpp
Обычный файл
@@ -0,0 +1,8 @@
|
||||
#include "block_with.h"
|
||||
bool input_block_with(double& BLOCK_WIDTH)
|
||||
{
|
||||
if((BLOCK_WIDTH<3) || (BLOCK_WIDTH>30))
|
||||
return false;
|
||||
if((BLOCK_WIDTH>3) && (BLOCK_WIDTH<30))
|
||||
return true;
|
||||
}
|
||||
7
block_with.h
Обычный файл
7
block_with.h
Обычный файл
@@ -0,0 +1,7 @@
|
||||
#ifndef BLOCK_WITH_H_INCLUDED
|
||||
#define BLOCK_WITH_H_INCLUDED
|
||||
|
||||
bool input_block_with(double& BLOCK_WIDTH);
|
||||
|
||||
|
||||
#endif // BLOCK_WITH_H_INCLUDED
|
||||
25
unittest.layout
Обычный файл
25
unittest.layout
Обычный файл
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_layout_file>
|
||||
<FileVersion major="1" minor="0" />
|
||||
<ActiveTarget name="Debug" />
|
||||
<File name="block_with.h" open="1" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="107" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="unittest.cpp" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="-1" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="805" topLine="3" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="doctest.h" open="1" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="94789" topLine="2166" />
|
||||
</Cursor>
|
||||
</File>
|
||||
<File name="block_with.cpp" open="1" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
|
||||
<Cursor>
|
||||
<Cursor1 position="25" topLine="0" />
|
||||
</Cursor>
|
||||
</File>
|
||||
</CodeBlocks_layout_file>
|
||||
Ссылка в новой задаче
Block a user