Skip to content

Instantly share code, notes, and snippets.

@munyabe
munyabe / VisualStudioExtensions_2015.vsext
Last active February 6, 2017 02:26
This is the Visual Studio extensions recommendation list by Suggested Extensions. See also the following link. https://visualstudiogallery.msdn.microsoft.com/3be88243-8bf1-407a-a7ca-a968d0de2d59
{
"extensions": {
"mandatory": [
{
"name": "Productivity Power Tools 2015",
"productId": "VSProPack.Microsoft.15893CD4-2422-4427-BEA8-4E28DCC26346",
"link": "http://go.microsoft.com/fwlink/p/?LinkID=618589"
},
{
"name": "Inheritance Margin",
using System;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Test
{
[TestClass]
public class PerformanceTest
{
@munyabe
munyabe / CalcTest
Created July 26, 2013 02:29
Automatic GUI test sample by Microsoft's UIAutomation library.
using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Automation;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace GUITest
{
[TestClass]
public class CalcTest
module TreeZipper
type Tree<'value> =
| Item of 'value
| Section of Tree<'value> list
type Path<'value> =
| Top
| Node of Tree<'value> list * Path<'value> * Tree<'value> list
module BinaryTreeZipper
type BinaryTree<'value> =
| Node of BinaryTree<'value> * 'value * BinaryTree<'value> // leftChild * value * rightChild
| LeftOnlyNode of BinaryTree<'value> * 'value
| RightOnlyNode of 'value * BinaryTree<'value>
| Leaf of string
type Path<'value> =
| Top