Example #1
0
        public void AddTest()
        {
            Measurement addMeasurement = new Measurement(5, 55.5, 66.6, 77.7, new DateTime(2020, 01, 14, 10, 10, 10));

            controller.Add(addMeasurement);

            Measurement actualMeasurement = controller.GetById(5);

            Assert.AreEqual(addMeasurement, actualMeasurement);
        }