// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

#include "wpi/sysid/analysis/AnalysisType.hpp"

#include <gtest/gtest.h>

TEST(AnalysisTypeTest, FromName) {
  EXPECT_EQ(sysid::analysis::kElevator, sysid::analysis::FromName("Elevator"));
  EXPECT_EQ(sysid::analysis::kArm, sysid::analysis::FromName("Arm"));
  EXPECT_EQ(sysid::analysis::kSimple, sysid::analysis::FromName("Simple"));
  EXPECT_EQ(sysid::analysis::kSimple, sysid::analysis::FromName("Random"));
}
