using System; using System.Numerics; using System.Threading.Tasks; using NUnit.Framework; using Robust.Shared.GameObjects; using Robust.Shared.Maths; using Robust.Shared.Toolshed.Syntax; using Robust.Shared.Utility; namespace Robust.UnitTesting.Shared.Toolshed; internal sealed partial class ToolshedParserTest { [Test] public async Task AllCoreTypesParseable() { await Server.WaitAssertion(() => { Assert.Multiple(() => { // Integer types. AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); // Common AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); // maff AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); AssertParseable(); // The tuples. *scream AssertParseable>(); AssertParseable>(); AssertParseable>(); AssertParseable>(); AssertParseable>(); AssertParseable>(); // this line literally breaks rider, uncomment when it doesn't. //AssertParseable>(); // Toolshed special constructs. AssertParseable>(); AssertParseable(); AssertParseable>(); AssertParseable>(); AssertParseable(); AssertParseable>(); AssertParseable>(); }); }); } private enum TestEnum { A = 0, B = 1 } }