Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
bea8ea5
CMake install locally plus Optimizaions enabled (#12)
cabral450 Jul 9, 2022
8d46b4f
Unit Test Env Update
cabral450 Aug 12, 2022
02e124d
Standardizing Standardization code (#13)
cabral450 Aug 18, 2022
33b34a2
Updated GPointer to allow const structure pointers
cabral450 Aug 29, 2022
04cc3eb
Image class bmp load bug fix
cabral450 Aug 31, 2022
1bacbe1
Split helper function (#15)
dratsuc1 Sep 4, 2022
840e01d
Added unit tests configure script
cabral450 Sep 4, 2022
c9745e2
supporting dynamic ports
dratsuc1 Nov 15, 2022
6440a87
Type enum instead of multiple static int constants
FabricatorZayac May 5, 2023
cf680e8
Replaced chained if statements with switch cases
FabricatorZayac May 5, 2023
7b17879
GResult Error Handling (#18)
cabral450 May 6, 2023
f5b37e4
Merge remote-tracking branch 'origin/refactor/GType' into pants
cabral450 May 6, 2023
f2427fd
Merge remote-tracking branch 'origin/feature/GType-enum' into pants
cabral450 May 6, 2023
640c999
Merge remote-tracking branch 'origin/feature/dynamic_port' into pants
cabral450 May 10, 2023
c65a8d7
PNG Helper Addition
cabral450 Jun 26, 2023
d6190af
README Update
cabral450 Jun 26, 2023
1d6e972
Memory updates (#23)
cabral450 Jun 28, 2023
5d92f7c
Image Flatten Function
cabral450 Jun 29, 2023
fa4e0d1
Nn image (#24)
cabral450 Jul 24, 2023
f5aec65
Added unit test script
cabral450 Aug 29, 2023
92941c5
Added more sock opts
cabral450 Sep 1, 2023
0688cdd
Minor reader refactor
cabral450 Sep 1, 2023
df26b1f
Socket overhaul (#25)
cabral450 Sep 27, 2023
8b7bffd
Basic Logger Created; Implemented into Sockets
cabral450 Sep 30, 2023
13ace5d
Minor logger edit
cabral450 Sep 30, 2023
f22c791
Added a time string to the output
cabral450 Sep 30, 2023
32168fd
Minor Networking bug fix
cabral450 Sep 30, 2023
a524575
Logupdate (#26)
cabral450 Oct 6, 2023
3771a8e
Added GLogger for better output and debugging
cabral450 Oct 19, 2023
9eeaa81
Merge branch 'pants' of github.com:Gattic/ShmeaDB into pants
cabral450 Oct 19, 2023
e09f926
Fix GList standardize bug
cabral450 Nov 8, 2023
3a71497
Added encryption toggle
cabral450 Nov 11, 2023
7431703
Added image helper function
cabral450 Nov 12, 2023
56b2779
GNet specify client port
cabral450 Nov 12, 2023
83ccafa
Set encryption toggle easier
cabral450 Nov 12, 2023
86504ee
Fixed decrypt connection bug
cabral450 Nov 13, 2023
f10b6a4
Removed sid from every message
cabral450 Jan 22, 2024
06be609
GType Compiler warning fix plus added g_export
cabral450 Mar 19, 2024
f0abc99
GType bug fix
cabral450 May 3, 2024
aec7260
Lodepng (#27)
cabral450 May 5, 2024
79292aa
Potential Windows Compat
cabral450 May 5, 2024
aac611e
Added new data structure for look up and list of connections
mdcpanama22 May 28, 2024
62398b2
added clientName to getConnection, and now the code actually assigns …
mdcpanama22 May 28, 2024
7bdc567
small change making retData != NULL because it was not behaving as ex…
mdcpanama22 Jun 7, 2024
611b4b6
Added GVector (#22)
FabricatorZayac Jul 3, 2024
64f97da
Merge remote-tracking branch 'origin/pants' into shmeaDB-net-ds-update
cabral450 Jul 3, 2024
eeb188f
Commented out GVector usage
cabral450 Jul 3, 2024
af2fb2a
Fixed warnings in Networking main
cabral450 Jul 4, 2024
25a73ab
Merged multiconnection container change
cabral450 Jul 4, 2024
dc36b5f
Merged multiconnection container change
cabral450 Jul 4, 2024
0fe1ce2
Feat resp serv num (#31)
cabral450 Aug 19, 2024
933d1d8
Database Upgrades (#32)
cabral450 Aug 23, 2024
aa0e3aa
Turned off sanaddr
cabral450 Aug 23, 2024
08f3ea2
GList load and clean words from file (#33)
cabral450 Aug 24, 2024
a07937a
GTable Load Fix
cabral450 Aug 24, 2024
ef9062d
Reworking image, added save png, and now creating candle pngs
mdcpanama22 Sep 3, 2024
8aa88a5
Added unit tests and another error check
cabral450 Sep 12, 2024
bfc6a9d
Revert GTable/importFromFile function
mdcpanama22 Oct 13, 2024
8365147
Feat png plotter (#35)
cabral450 Oct 28, 2024
beae9ea
Create c-cpp.yml (#36)
cabral450 Nov 5, 2024
a6ba1b1
Gattic & Monte Carlo wrap up (#37)
mdcpanama22 Nov 10, 2024
496be3e
initial code
Tanushree123-hub Nov 18, 2024
b16df2b
Merge remote-tracking branch 'origin/pants' into feature/banana-testcase
cabral450 Nov 21, 2024
df0c4a7
Updated git ignore
cabral450 Nov 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ alpaca.key
.gdb_history
*.vim
unit-tests/out-png-test.png
unit-tests/hello/out-png-test.png
16 changes: 16 additions & 0 deletions unit-tests/Backend/Database/GTable-test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,21 @@ void GTableUnitTest()
G_assert(__FILE__, __LINE__, "==============GTable::getNumCols() Comparison Failed==============", readTable.numberOfCols() == testTable.numberOfCols() );
G_assert(__FILE__, __LINE__, "==============GTable::getNumRows() Comparison Failed==============", readTable.numberOfRows() == testTable.numberOfRows() );



// retrieve and validate individual cells (each cell in the table holds the expected string data)

shmea::GString data1( "First,Last,Age\nMickey,Mouse,100\nDonald,Duck,99\n" );
shmea::GTable sampleDataTable1( data1, ',', shmea::GTable::TYPE_STRING );

G_assert(__FILE__, __LINE__, "First name failed", sampleDataTable1[0][0] == "Mickey");
G_assert(__FILE__, __LINE__, "Last name failed", sampleDataTable1[0][1] == "Mouse");
G_assert(__FILE__, __LINE__, "Age failed", sampleDataTable1[0][2] == "100");

G_assert(__FILE__, __LINE__, "First name failed", sampleDataTable1[1][0] == "Donald");
G_assert(__FILE__, __LINE__, "Last name failed", sampleDataTable1[1][1] == "Duck");
G_assert(__FILE__, __LINE__, "Age failed", sampleDataTable1[1][2] == "99");


return;
}
Binary file added unit-tests/hello/out-png-test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.