void DoTest(T_DeviceClass expectedDC, T_ServiceClass expectedSC, A_DeviceClass testDC, A_ServiceClass TestSC) { var abc = Make(testDC, TestSC); var cod = AndroidBthUtils.ConvertCoDs(abc); Assert.AreEqual(new ClassOfDevice(expectedDC, expectedSC), cod); }
static BluetoothClass Make(A_DeviceClass dc, A_ServiceClass sc) { return(SimpleBluetoothClassMock.Create(dc, sc)); }