﻿using System;
using System.Collections.Generic;
using Exercism.CSharp.Output;

namespace Exercism.CSharp.Exercises.Generators
{
    internal class Gigasecond : ExerciseGenerator
    {
        protected override void UpdateTestMethod(TestMethod testMethod) => testMethod.Input["moment"] = DateTime.Parse(testMethod.Input["moment"].ToString());

        protected override void UpdateNamespaces(ISet<string> namespaces) => namespaces.Add(typeof(DateTime).Namespace!);
    }
}