+
+ it('Verify isKillBehavior() behavior', () => {
+ expect(isKillBehavior(KillBehaviors.SOFT, KillBehaviors.SOFT)).toBe(true)
+ expect(isKillBehavior(KillBehaviors.SOFT, KillBehaviors.HARD)).toBe(false)
+ expect(isKillBehavior(KillBehaviors.HARD, KillBehaviors.HARD)).toBe(true)
+ expect(isKillBehavior(KillBehaviors.HARD, KillBehaviors.SOFT)).toBe(false)
+ expect(isKillBehavior(KillBehaviors.SOFT)).toBe(false)
+ expect(isKillBehavior(KillBehaviors.HARD)).toBe(false)
+ expect(isKillBehavior(KillBehaviors.HARD, null)).toBe(false)
+ expect(isKillBehavior(KillBehaviors.SOFT, 'unknown')).toBe(false)
+ })