Skip to content

Commit

Permalink
wintests^
Browse files Browse the repository at this point in the history
  • Loading branch information
SermetPekin committed Dec 10, 2024
1 parent e00478c commit 9b80f9f
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 302 deletions.
72 changes: 0 additions & 72 deletions tests/wintests/simple.h

This file was deleted.

121 changes: 0 additions & 121 deletions tests/wintests/simple2.h

This file was deleted.

21 changes: 0 additions & 21 deletions tests/wintests/simpletest.cpp

This file was deleted.

15 changes: 15 additions & 0 deletions tests/wintests/test3.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#include "tests/wintests/simple2.h"
using namespace simple_test;
// Sample test case 1
TEST_CASE(test_addition22)
{
EXPECT_EQ(2 + 2, 4);
EXPECT_EQ(1 + 1, 2);
}
// Sample test case 2
TEST_CASE(test_boolean22)
{
EXPECT_TRUE(3 > 2);
EXPECT_TRUE(0 == 1); // This will fail
}
24 changes: 24 additions & 0 deletions tests/wintests/test4.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

#include "sptest.h"
using namespace sptest;
// Sample test case 1
TEST_CASE(test_addition22)
{
EXPECT_EQ(28 + 2, 30);
EXPECT_EQ(1 + 1, 2);
}
// Sample test case 2
TEST_CASE(test_boolean22)
{
EXPECT_TRUE(3 > 2);
EXPECT_TRUE(0 == 1); // This will fail
}
using namespace sptest;
int main()
{
sptest::run_all_tests();
return 0;
}
/*
g++ test4.cpp test5.cpp -Iinclude -Iextern
*/
15 changes: 15 additions & 0 deletions tests/wintests/test5.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

#include "sptest.h"
using namespace sptest;
// Sample test case 1
TEST_CASE(test_addition51)
{
EXPECT_EQ(28 + 2, 30);
EXPECT_EQ(1 + 1, 2);
}
// Sample test case 2
TEST_CASE(test_boolean52)
{
EXPECT_TRUE(3 > 2);
EXPECT_TRUE(0 == 1); // This will fail
}
17 changes: 0 additions & 17 deletions tests/wintests/test_main.cpp

This file was deleted.

71 changes: 0 additions & 71 deletions tests/wintests/test_softmax.cpp

This file was deleted.

0 comments on commit 9b80f9f

Please sign in to comment.