()
| 494 | |
| 495 | #[test] |
| 496 | fn test_view_state_initial() { |
| 497 | let view = ViewState::new(1, "main".to_string()); |
| 498 | |
| 499 | assert_eq!(view.id, 1); |
| 500 | assert_eq!(view.name, "main"); |
| 501 | assert_eq!(view.state, Merkle::ZERO); |
| 502 | assert_eq!(view.change_count, 0); |
| 503 | assert!(view.is_empty()); |
| 504 | } |
| 505 | |
| 506 | #[test] |
| 507 | fn test_view_state_simulate_apply() { |
nothing calls this directly
no outgoing calls
no test coverage detected