mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 22:48:29 -04:00
1456a2a912
ArduCopterMega -> ArduCopter added archives directory for old code
30 lines
612 B
C#
30 lines
612 B
C#
using System.Text;
|
|
using ArducopterConfigurator.PresentationModels;
|
|
using NUnit.Framework;
|
|
|
|
namespace ArducopterConfiguratorTest
|
|
{
|
|
[TestFixture]
|
|
public class MainVmTests
|
|
{
|
|
private MockComms _mockComms;
|
|
private MainVm _vm;
|
|
|
|
[SetUp]
|
|
public void Setup()
|
|
{
|
|
_mockComms = new MockComms();
|
|
_vm = new MainVm(_mockComms);
|
|
}
|
|
|
|
[Test]
|
|
public void StateInitiallyDisconnected()
|
|
{
|
|
Assert.AreEqual(MainVm.SessionStates.Disconnected, _vm.ConnectionState);
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|