xref: /MusicPlayer2/UnitTest/unittest1.cpp (revision ead86454da3af0f0f92b604977e8985caecdf15c)
1 #include "stdafx.h"
2 #include "CppUnitTest.h"
3 #include "../MusicPlayer2/Define.h"
4 #include "../MusicPlayer2/Common.h"
5 
6 using namespace Microsoft::VisualStudio::CppUnitTestFramework;
7 
8 namespace UnitTest
9 {
TEST_CLASS(UnitTest1)10 	TEST_CLASS(UnitTest1)
11 	{
12 	public:
13 
14 		TEST_METHOD(TestMethod1)
15 		{
16 			// TODO: �ڴ�������Դ���
17             CSize size = CSize(20, 30);
18             CCommon::SizeZoom(size, 10);
19             Assert::IsTrue(size == CSize(6, 10));
20 		}
21 
22 	};
23 }