2010-12-22 06:04:16 -04:00
|
|
|
using ArducopterConfigurator.PresentationModels;
|
|
|
|
using NUnit.Framework;
|
|
|
|
|
|
|
|
namespace ArducopterConfiguratorTest
|
|
|
|
{
|
|
|
|
[TestFixture]
|
|
|
|
public class CalibrationOffsetsDataVmTest : VmTestBase<CalibrationOffsetsDataVm>
|
|
|
|
{
|
|
|
|
|
|
|
|
[SetUp]
|
|
|
|
public void Setup()
|
|
|
|
{
|
|
|
|
sampleLineOfData = "0.100,0.200,0.300,0.400,0.500,0.600";
|
|
|
|
getCommand = "J";
|
|
|
|
setCommand = "I";
|
|
|
|
|
2010-12-23 11:59:00 -04:00
|
|
|
_mockComms = new MockComms();
|
2011-02-04 17:45:31 -04:00
|
|
|
_mockComms.Connect();
|
2010-12-23 11:59:00 -04:00
|
|
|
_vm = new CalibrationOffsetsDataVm(_mockComms);
|
2010-12-22 06:04:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|