breezy-solstice-69394
02/04/2023, 2:32 PMbreezy-solstice-69394
02/04/2023, 2:32 PMbreezy-solstice-69394
02/04/2023, 2:32 PMbreezy-solstice-69394
02/04/2023, 2:32 PMbreezy-solstice-69394
02/04/2023, 2:33 PMbusy-arm-75131
02/04/2023, 2:33 PMbusy-arm-75131
02/04/2023, 2:33 PMbreezy-solstice-69394
02/04/2023, 2:33 PMbreezy-solstice-69394
02/04/2023, 2:33 PMbreezy-solstice-69394
02/04/2023, 2:33 PMbusy-arm-75131
02/04/2023, 2:33 PMbusy-arm-75131
02/04/2023, 2:33 PMbusy-arm-75131
02/04/2023, 2:34 PMc
Test:MyTestingName()
{
ASSERT(1 == 2);
}
busy-arm-75131
02/04/2023, 2:34 PM#define RUN_TESTS
just before including y_testing
busy-arm-75131
02/04/2023, 2:35 PMASSERT
function is pass or nobusy-arm-75131
02/04/2023, 2:35 PMASSERT
, there is many assertions you can usebillions-easter-89791
02/04/2023, 2:35 PMbillions-easter-89791
02/04/2023, 2:35 PMbusy-football-27508
02/04/2023, 2:36 PMfierce-waitress-53434
02/04/2023, 2:36 PMbillions-easter-89791
02/04/2023, 2:37 PMTestInit
is used for pre-setup for a test such as connecting to a db, making a request etc
TestClose
is clean up after the test so closing db, making final queries etc
Test
is the test case itselfvictorious-lamp-45130
02/04/2023, 2:38 PMicy-match-81343
02/04/2023, 2:38 PMicy-match-81343
02/04/2023, 2:38 PMbreezy-solstice-69394
02/04/2023, 2:38 PMbreezy-solstice-69394
02/04/2023, 2:39 PMbreezy-solstice-69394
02/04/2023, 2:40 PMbusy-football-27508
02/04/2023, 2:41 PMbreezy-solstice-69394
02/04/2023, 2:41 PM