Skip to content

Commit 1722249

Browse files
authored
Promo screenshots (EnjoMitch#45)
1 parent 245686f commit 1722249

File tree

4 files changed

+27
-0
lines changed

4 files changed

+27
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
![logo](docs/screenshots/promo-cut.png)
2+
13
# EnjoLib
24
Basic thin C++ libraries with focus on utility, portability, short compilation time and backward compatibility.
35

46
Static polymorphism is prefered over template-based polymorphism, mainly due to the compilation time burden, that the template solutions typicaly impose (although they don't always have to: see for example the `lib/Template/SafePtr*.hpp` or `lib/Template/Array.hpp` templates).
57

8+
# Screenshots
9+
10+
![ut](docs/screenshots/uests.png)
11+
612
## A little bit or history
713
The library had been originally written as a common part of [my modules](http://enderspace.de/projects/programs_en.php), extending the functionality of [Orbiter Spaceflight Simulator](http://orbit.medphys.ucl.ac.uk/), and was originally developed [here](http://sf.net/p/enjomitchsorbit). In the following years, I found other mad uses of the library, so I extracted it from there. Occasionally I will make efforts of retaining the backward compatibility with the previous repository and backport the new features from this repo.
814

docs/screenshots/promo-cut.png

615 Bytes
Loading

docs/screenshots/uests.png

10.3 KB
Loading

tests/EnjoLibUTest/src/TestDistrib.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,24 @@ TEST(Distrib_test_plot)
3838
LOG << ret2 << Nl;
3939
LOG << ret3 << Nl;
4040
}
41+
42+
static void Promo(const VecD & data);
43+
TEST(Distrib_prmo)
44+
{
45+
const VecD & data = GenDistribData();
46+
//Promo(data);
47+
}
48+
void Promo(const VecD & data)
49+
{
50+
ELO
51+
const Distrib distr;
52+
const DistribData & distData = distr.GetDistrib(data, 31);
53+
LOG << "Promo:\n\n";
54+
//cout << "Cov size = " << cov.SizeStr() << endl;
55+
const Str & retP = distr.PlotLine(distData, true, true, false);
56+
LOG << Nl << Nl;
57+
LOG << StrColour::GenNorm(StrColour::Col::Green, retP) << Nl;
58+
LOG << "\t Status is" << Nl << StrColour::GenBright(StrColour::ColBright::Green,
59+
"\t GREEN!") << Nl;
60+
LOG << Nl << Nl << Nl;
61+
}

0 commit comments

Comments
 (0)