Test
This commit is contained in:
parent
2769a3a0ad
commit
e707a6649f
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -Wall -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -std=c++17
|
CXXFLAGS = -Wall -Wextra -Wpedantic -Wshadow -Wnon-virtual-dtor -Wold-style-cast -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wnull-dereference -Wdouble-promotion -Wformat=2 -std=c++17
|
||||||
#CXXFLAGS += -Werror
|
CXXFLAGS += -g
|
||||||
|
|
||||||
SRC = $(wildcard *.cc)
|
SRC = $(wildcard *.cc)
|
||||||
HDR = $(wildcard *.h)
|
HDR = $(wildcard *.h)
|
||||||
|
|
|
@ -39,4 +39,8 @@ int main() {
|
||||||
User ufind2 = tbl.find("Name Surname");
|
User ufind2 = tbl.find("Name Surname");
|
||||||
assert(ufind2 != UserTable::user_not_found);
|
assert(ufind2 != UserTable::user_not_found);
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
auto t = UserTable("users.txt");
|
||||||
|
int r = testFindNbr(t);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue