mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-09 15:49:53 +01:00
26 lines
403 B
Plaintext
26 lines
403 B
Plaintext
/*
|
|
* OCTest.mm
|
|
* OCTest
|
|
*
|
|
* Created by Phil on 13/11/2010.
|
|
* Copyright 2010 Two Blue Cubes Ltd. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
#import "../../../catch.hpp"
|
|
|
|
#import "TestObj.h"
|
|
|
|
TEST_CASE( "OCTest/TestObj", "tests TestObj" )
|
|
{
|
|
TestObj* obj = [[TestObj alloc] init];
|
|
|
|
EXPECT( obj.int_val == 0 );
|
|
|
|
obj.int_val = 1;
|
|
|
|
EXPECT( obj.int_val == 1 );
|
|
|
|
[obj release];
|
|
}
|