test: Search view ui tests

This commit is contained in:
Eberhard Graether
2018-09-07 12:48:19 +02:00
parent d2a99cbab2
commit ac7b642d8a
20 changed files with 820 additions and 0 deletions
@@ -0,0 +1,24 @@
#include "template.h"
template <typename T>
T sum(T a, T b)
{
return a + b;
}
template <>
int sum<int>(int a, int b)
{
return a + b;
}
void work()
{
double x = sum<double>(0.1, 0.2);
int y = sum<int>(-1, 2);
unsigned int z = sum<unsigned int>(1, 2);
int v = diff<int>(9, 5);
double w = diff<double>(0.5, 0.3);
}