Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions src/Hyperion.Tests/Bugfix117Tests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

using System;
using System.Drawing;
using Xunit;
using Xunit.Abstractions;

namespace Hyperion.Tests{
public class Bugfix117Tests : TestBase
{
[Fact]
public void CanSerializeColor()
{
var expected = Color.Aquamarine;
Serialize(expected);
Reset();
var actual = Deserialize<Color>();
Assert.Equal(expected, actual);
}
}
}
1 change: 0 additions & 1 deletion src/Hyperion.Tests/Bugs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ public void CanSerializeUri()
Assert.Equal(stream.Length, stream.Position);
}


public class SnapshotSelectionCriteria
{
public static SnapshotSelectionCriteria Latest { get; set; } = new SnapshotSelectionCriteria()
Expand Down