feature: Sepsis Engine Refactor: Remove SIRS, Rewire qSOFA + Bundle
Frontend: GCS Entry, SOFA Display, Sepsis UI Refactor
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using FluentAssertions;
|
||||
|
||||
public class AlertCreationGuardTests
|
||||
{
|
||||
[Fact]
|
||||
public void CannotCreateNewSepsisWarning()
|
||||
{
|
||||
var act = () => AlertCreationGuard.EnsureAllowed(AlertType.SepsisWarning);
|
||||
act.Should().Throw<InvalidOperationException>()
|
||||
.WithMessage("*deprecated*");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void AllowsSofaSepsis()
|
||||
{
|
||||
var act = () => AlertCreationGuard.EnsureAllowed(AlertType.SofaSepsis);
|
||||
act.Should().NotThrow();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user