mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
test(ltl): drop Verdict.String tautology tests
This commit is contained in:
1 parent
5df421956c
commit
f27e66c152
2 files changed
-15
No files matched your search
@@ -93,15 +93,6 @@ func TestEvaluator_TopLevelThunkRespectsObservation(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestVerdict_String(t *testing.T) {
|
|
||||||
if VerdictHolds.String() != "holds" {
|
|
||||||
t.Errorf("VerdictHolds.String() = %q", VerdictHolds.String())
|
|
||||||
}
|
|
||||||
if VerdictViolated.String() != "violated" {
|
|
||||||
t.Errorf("VerdictViolated.String() = %q", VerdictViolated.String())
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestDescribe(t *testing.T) {
|
func TestDescribe(t *testing.T) {
|
||||||
formula := Always(Pure(true))
|
formula := Always(Pure(true))
|
||||||
if got := Describe(formula); !strings.Contains(got, "Always") || !strings.Contains(got, "Pure(true)") {
|
if got := Describe(formula); !strings.Contains(got, "Always") || !strings.Contains(got, "Pure(true)") {
|
||||||
|
|||||||
@@ -187,12 +187,6 @@ func TestNot_InvertsPure(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestVerdict_StringPending(t *testing.T) {
|
|
||||||
if got := VerdictPending.String(); got != "pending" {
|
|
||||||
t.Errorf("VerdictPending.String() = %q", got)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func TestMarshalJSON_AlwaysImpliesEventually(t *testing.T) {
|
func TestMarshalJSON_AlwaysImpliesEventually(t *testing.T) {
|
||||||
formula := Always(Implies(Now(Pure(true)), EventuallyWithinSteps(Pure(false), 3)))
|
formula := Always(Implies(Now(Pure(true)), EventuallyWithinSteps(Pure(false), 3)))
|
||||||
body, err := json.Marshal(formula)
|
body, err := json.Marshal(formula)
|
||||||
|
|||||||
Reference in new issue
Block a user